Skip to content

Clarify behavior of Snuba subscription consumers #4157

Description

@AbdulazizTamkeen

Problem Statement

I’m trying to understand the behavior of Snuba subscription consumers in a self-hosted Sentry deployment.

While monitoring Kafka consumer groups, the subscription consumers appear to not advance the current offset, and in some cases the end offset is not shown, even though:

  • The application is working correctly
  • Events and subscriptions are functioning as expected

I have a basic understanding of Kafka and consumer groups, and the general Kafka documentation is clear, but it’s not obvious:

  • What these subscription consumers are expected to consume
  • Whether static offsets or missing end offsets are expected behavior
  • How to correctly interpret their state when troubleshooting

This makes it difficult to determine whether their behavior is healthy or misconfigured.

This is example of a consumer in kafka-ui:

Image

Solution Brainstorm

Add documentation that explains:

  • What Snuba subscription consumers are responsible for
  • Which topics they consume from and how
  • Why offsets may appear static or missing
  • What “healthy” behavior looks like for these consumers
  • Any differences between subscription consumers and other Snuba consumers (for example, event consumers)

Metadata

Metadata

Assignees

Fields

No fields configured for issues without a type.

Projects

Status
No status
Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions