Skip to content

Feature: correlation_id factory function at broker creation time, e.g. for ulids - #2995

Draft
ApusBerliozi wants to merge 3 commits into
ag2ai:mainfrom
ApusBerliozi:2570_correlation_id_factory_function_at_broker_creation
Draft

Feature: correlation_id factory function at broker creation time, e.g. for ulids#2995
ApusBerliozi wants to merge 3 commits into
ag2ai:mainfrom
ApusBerliozi:2570_correlation_id_factory_function_at_broker_creation

Conversation

@ApusBerliozi

Copy link
Copy Markdown
Collaborator

Description

Added correlation_id factory for a broker (id_generator). By default it is set to be gen_cor_id, but can be changed by user

Fixes #2570

Type of change

Please delete options that are not relevant.

  • Documentation (typos, code examples, or any documentation updates)
  • Bug fix (a non-breaking change that resolves an issue)
  • New feature (a non-breaking change that adds functionality)
  • Breaking change (a fix or feature that would disrupt existing functionality)
  • This change requires a documentation update

Checklist

  • My code adheres to the style guidelines of this project (just lint shows no errors)
  • I have conducted a self-review of my own code
  • I have made the necessary changes to the documentation
  • My changes do not generate any new warnings
  • I have added tests to validate the effectiveness of my fix or the functionality of my new feature
  • Both new and existing unit tests pass successfully on my local environment by running just test-coverage
  • I have ensured that static analysis tests are passing by running just static-analysis
  • I have included code examples to illustrate the modifications

@ApusBerliozi ApusBerliozi self-assigned this Aug 5, 2026
@github-actions github-actions Bot added documentation Improvements or additions to documentation Confluent Issues related to `faststream.confluent` module AioKafka Issues related to `faststream.kafka` module NATS Issues related to `faststream.nats` module and NATS broker features Redis Issues related to `faststream.redis` module and Redis features MQTT Issues related to `faststream.mqtt` module labels Aug 5, 2026
@ApusBerliozi ApusBerliozi added enhancement New feature or request Core Issues related to core FastStream functionality and affects to all brokers and removed documentation Improvements or additions to documentation Confluent Issues related to `faststream.confluent` module AioKafka Issues related to `faststream.kafka` module NATS Issues related to `faststream.nats` module and NATS broker features Redis Issues related to `faststream.redis` module and Redis features MQTT Issues related to `faststream.mqtt` module labels Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Core Issues related to core FastStream functionality and affects to all brokers enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: correlation_id factory function at broker creation time, e.g. for ulids

1 participant