/bin/kafka-consumer-groups.sh --bootstrap-server server_ip:port --describe --group consumer_group_name | awk '{lag_sum += $5; total_sum += $4; done_sum += $3} END {print "Completed count: " done_sum ", Lag: " lag_sum ", Total number of records: " total_sum}'
-
-
Save fuyar/4ba173da2574c39fbe9345bf74a2315f to your computer and use it in GitHub Desktop.
Kafka handy commands
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment