Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add RequestIDGenerator interface to allow custom implementations #39

Merged
merged 1 commit into from
Apr 12, 2023

Conversation

alovak
Copy link
Contributor

@alovak alovak commented Apr 11, 2023

In some cases, you may want to use more than one field (STAN in the default request id generator) to match request and response. Such cases are:

  • stress load testing when you may handle more that 1 million of transactions within send timeout
  • when you implement custom specification that has other field than 11 for the identification and matching purposes

This PR allows you to set your own request id generator for the connection.

@alovak alovak merged commit e6c8a89 into master Apr 12, 2023
@alovak alovak deleted the intro-request-id-generator branch September 1, 2023 21:29
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.

None yet

1 participant