Skip to content

error.occurred.karafka

View Markdown

A Karafka consumer or the Karafka framework raised an error.

Source Karafka Category Jobs Fields 9 honeybadger-ruby

Fields

9
FieldTypeDescription
event_typestringAllowed value: error.occurred.karafka.
typestringError source identifier, e.g., 'consumer.consume.error' or 'connection.error'.
errorstringException message and class name.
topicstringKafka topic where the error occurred, if applicable.
partitionintegerKafka partition where the error occurred, if applicable.
consumer_groupstringConsumer group where the error occurred, if applicable.
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": "error.occurred.karafka",
"type": "consumer.consume.error",
"error": "JSON::ParserError: unexpected token at 'invalid'",
"topic": "orders",
"partition": 0,
"consumer_group": "orders_consumers",
"request_id": "3d9c2f81-6e5a-4f7b-9c0d-8a1b2c3d4e5f",
"hostname": "worker-1.example.com",
"environment": "production"
}