Class ClientFactoryDefault<K,V>
java.lang.Object
org.apache.storm.kafka.spout.internal.ClientFactoryDefault<K,V>
- All Implemented Interfaces:
Serializable
,ClientFactory<K,
V>
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.kafka.clients.admin.Admin
createAdmin
(Map<String, Object> adminProps) createConsumer
(Map<String, Object> consumerProps)
-
Constructor Details
-
ClientFactoryDefault
public ClientFactoryDefault()
-
-
Method Details
-
createConsumer
public org.apache.kafka.clients.consumer.KafkaConsumer<K,V> createConsumer(Map<String, Object> consumerProps) - Specified by:
createConsumer
in interfaceClientFactory<K,
V>
-
createAdmin
- Specified by:
createAdmin
in interfaceClientFactory<K,
V>
-