Skip to content

Add RetryableConsumerProducer for consume-transform-produce pipelines#5

Open
sebastienviale wants to merge 2 commits into
michelin:mainfrom
sebastienviale:feat/consumerAndProducer
Open

Add RetryableConsumerProducer for consume-transform-produce pipelines#5
sebastienviale wants to merge 2 commits into
michelin:mainfrom
sebastienviale:feat/consumerAndProducer

Conversation

@sebastienviale

Copy link
Copy Markdown

This PR introduces a new class, RetryableConsumerProducer, which extends AbstractRetryableConsumer to enable the consume-transform-produce pattern in Kafka.

It allows a user to:

  1. Consume records from one or more topics,
  2. Transform them via a RecordProcessorList functional interface returning a list of ProducerRecords,
  3. Produce the resulting records to Kafka topics,
  4. While leveraging the existing retry, DLQ, and error-handling mechanisms.

This simplifies building pipeline-like applications without having to manually handle retries or dead-letter topics.

@sebastienviale sebastienviale changed the title Add RetryableConsumerProducer for consume-transform-produce pipelines Linked Issue: #4 Add RetryableConsumerProducer for consume-transform-produce pipelines Oct 8, 2025
@sebastienviale
sebastienviale marked this pull request as draft October 8, 2025 15:00
@julienbrunet
julienbrunet marked this pull request as ready for review October 24, 2025 07:58
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.

1 participant