Open tungnat97 opened 4 years ago
@tungnat97 can you let us know what exactly you are looking for? Thanks.
@tungnat97 can you let us know what exactly you are looking for? Thanks.
I want to measure latency of KafkaDataset when comsuming messages from topics and KafkaOutputSequence when producing messages to topics.
@tungnat97 I see, so here is what you can do as of now. In the configurations parameter, you can pass `statistics.interval.ms" value to log the stats on the terminal.
For example:
configuration=[
"session.timeout.ms=7000",
"max.poll.interval.ms=8000",
"statistics.interval.ms=1000",
"auto.offset.reset=earliest"
]
Increase or decrease the value as per need.
It would be helpful for monitoring Kafka-io consuming and producing performance.