Skip to content

consumer.consumed.karafka

View Markdown

A Karafka consumer processed a batch of Kafka messages.

Source Karafka Category Jobs Fields 12 honeybadger-ruby

Fields

12
FieldTypeDescription
event_typestringAllowed value: consumer.consumed.karafka.
topicstringKafka topic consumed from.
partitionintegerKafka partition consumed from.
consumer_groupstringConsumer group identifier.
consumerstringConsumer class name.
processedintegerNumber of messages processed in this batch.
durationnumberProcessing duration in milliseconds.
processing_lagintegerLatency between when the first message in the batch was produced and when processing began, in milliseconds.
consumption_lagintegerLatency between the last committed offset and the newest available offset, in milliseconds.
request_idstringRails request UUID from the active web request context, if any. Merged globally by the Honeybadger agent.
hostnamestringServer hostname. Attached to every event by default (events.attach_hostname).
environmentstringApplication environment, e.g. "production". Attached to every event by default (events.attach_environment).

Example

{
"event_type": "consumer.consumed.karafka",
"topic": "orders",
"partition": 0,
"consumer_group": "orders_consumers",
"consumer": "OrdersConsumer",
"processed": 25,
"duration": 845.3,
"processing_lag": 213,
"consumption_lag": 1378,
"request_id": "3d9c2f81-6e5a-4f7b-9c0d-8a1b2c3d4e5f",
"hostname": "worker-1.example.com",
"environment": "production"
}