Creates an instance of KafkaConsumer
Kafka client configuration options
Kafka consumer configuration options
Optional
interval: numberPeriod of health check interval
Readonly
consumerKafka Consumer configuration options
Readonly
optionsKafka Broker configuration options
Kafka consumer
Overall client state
Emitted when admin client can collect the desired information
Emitted when admin client can not collect the desired information
Emitted every time that admin client get metadata from brokers
Emitted when admin client has some problem getting the metadata from brokers
This client is based in the functionality of kafkajs for NodeJS. In the moment of implement the port, this library show some issues and not clear API about how the connection handshake and events are managed by the library, for this reason we decide to include an admin client in all the cases, even when we only want to stablish a consumer or producer.