Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save EliFuzz/2f5a8f932cf6d1ec93f7d6ad083706a9 to your computer and use it in GitHub Desktop.
Save EliFuzz/2f5a8f932cf6d1ec93f7d6ad083706a9 to your computer and use it in GitHub Desktop.
Reader (Consumer) and Writer (Producer) xk6-kafka extension API
Reader: Consumer Writer: Producer Metrics Description
dial.count Total number of times the reader/writer tries to connect to Kafka
error.count Total number of errors occurred when reading/writing from/to Kafka
message.bytes Total bytes consumed/produced
message.count Total number of messages consumed/produced
fetches.count Total number of times the reader fetches batches of messages from Kafka
timeouts.count Total number of timeouts occurred when reading from Kafka
write.count Total number of times the writer writes batches of messages to Kafka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment