Package org.kie.remote.util
Class KafkaRemoteUtil
- java.lang.Object
-
- org.kie.remote.util.KafkaRemoteUtil
-
public class KafkaRemoteUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.kafka.clients.consumer.KafkaConsumergetConsumer(String topic, Properties properties)static ListenergetListener(Properties props, boolean isLocal)static ListenerThreadgetListenerThread(TopicsConfig topicsConfig, boolean isLocal, Properties configuration)static PropertiesgetMergedConf(Properties configuration)static ProducergetProducer(boolean isLocal)
-
-
-
Method Detail
-
getListener
public static Listener getListener(Properties props, boolean isLocal)
-
getListenerThread
public static ListenerThread getListenerThread(TopicsConfig topicsConfig, boolean isLocal, Properties configuration)
-
getProducer
public static Producer getProducer(boolean isLocal)
-
getMergedConf
public static Properties getMergedConf(Properties configuration)
-
getConsumer
public static org.apache.kafka.clients.consumer.KafkaConsumer getConsumer(String topic, Properties properties)
-
-