Skip to content

Add PartitionId to Envelope for Kafka partition tracking#2440

Merged
jeremydmiller merged 1 commit into
JasperFx:mainfrom
Sonic198:feature/add-partition-id-to-envelope
Apr 6, 2026
Merged

Add PartitionId to Envelope for Kafka partition tracking#2440
jeremydmiller merged 1 commit into
JasperFx:mainfrom
Sonic198:feature/add-partition-id-to-envelope

Conversation

@Sonic198

@Sonic198 Sonic198 commented Apr 5, 2026

Copy link
Copy Markdown
Contributor

Envelope now includes a nullable PartitionId property to record the partition number from which a Kafka message was consumed. Both KafkaListener and KafkaTopicGroupListener set this property when processing messages. Added tests to verify that received messages have a valid PartitionId when consumed from topic groups or with a partition key. This enhances observability and debugging for stream-based transports.

Envelope now includes a nullable PartitionId property to record the partition number from which a Kafka message was consumed. Both KafkaListener and KafkaTopicGroupListener set this property when processing messages. Added tests to verify that received messages have a valid PartitionId when consumed from topic groups or with a partition key. This enhances observability and debugging for stream-based transports.
@jeremydmiller jeremydmiller merged commit 229f5b0 into JasperFx:main Apr 6, 2026
17 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants