Skip to content

Commit ef79678

Browse files
authored
Mention client_id and group_id in Instrumentation
1 parent a0bbaf8 commit ef79678

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -719,6 +719,8 @@ ActiveSupport::Notifications.subscribe(/.*\.kafka$/) do |*args|
719719
end
720720
```
721721

722+
All notification events have the `client_id` key in the payload, referring to the Kafka client id.
723+
722724
#### Producer Notifications
723725

724726
* `produce_message.producer.kafka` is sent whenever a message is produced to a buffer. It includes the following payload:
@@ -735,6 +737,8 @@ end
735737

736738
#### Consumer Notifications
737739

740+
All notifications have `group_id` in the payload, referring to the Kafka consumer group id.
741+
738742
* `process_message.consumer.kafka` is sent whenever a message is processed by a consumer. It includes the following payload:
739743
* `value` is the message value.
740744
* `key` is the message key.

0 commit comments

Comments
 (0)