Class ClientFactoryDefault<K,V>
- java.lang.Object
-
- org.apache.storm.kafka.spout.internal.ClientFactoryDefault<K,V>
-
- All Implemented Interfaces:
Serializable
,ClientFactory<K,V>
public class ClientFactoryDefault<K,V> extends Object implements ClientFactory<K,V>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClientFactoryDefault()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.kafka.clients.admin.Admin
createAdmin(Map<String,Object> adminProps)
org.apache.kafka.clients.consumer.KafkaConsumer<K,V>
createConsumer(Map<String,Object> consumerProps)
-
-
-
Method Detail
-
createConsumer
public org.apache.kafka.clients.consumer.KafkaConsumer<K,V> createConsumer(Map<String,Object> consumerProps)
- Specified by:
createConsumer
in interfaceClientFactory<K,V>
-
createAdmin
public org.apache.kafka.clients.admin.Admin createAdmin(Map<String,Object> adminProps)
- Specified by:
createAdmin
in interfaceClientFactory<K,V>
-
-