I am trying to integrate kafka with druid for realtime metrics and monitoring(The idea is to create new datasource to monitor various metrics). I have set the configuration to emit logs to kafka. But the problem is, it is emitting too much of data > 100 MB
Below is my config for http emitter which I have placed in common config file.
druid.emitter=http
druid.emitter.logging.loggerClass=HttpPostEmitter
druid.emitter.logging.logLevel=warn
druid.emitter.http.recipientBaseUrl=http://localhost:9092
druid.emitter.kafka.metric.topic=metrics-kafka
Here is the error message which I get
org.apache.kafka.common.network.InvalidReceiveException: Invalid receive (size = 1347375956 larger than 104857600)
I am not sure why it is sending such a huge stream which Kafka is not able to handle.
I tried to recreate the topic in kafka and also delete all logs in druid. But I am always getting the above error.