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

feat: add support for KafkaDependentProducer instrumentation #34

Merged
merged 2 commits into from
Aug 7, 2024

Conversation

overbit
Copy link
Contributor

@overbit overbit commented Aug 7, 2024

Add support for KafkaDependentProducer that allows to produce messages with different types using a single producer instance.

Using KafkaDependentProducer is more efficient than creating more than one kafka producer instance.

@overbit
Copy link
Contributor Author

overbit commented Aug 7, 2024

@vhatsura I also noticed that snapshots for the current tests are not matching but I'll wait for CI to run as it is not related to my changes.

@overbit overbit force-pushed the add-support-dependent-producer branch from 24f7b13 to 60d54c0 Compare August 7, 2024 13:37
@overbit overbit changed the title feat: add support for Dependent Producer instrumentation feat: add support for KafkaDependentProducer instrumentation Aug 7, 2024
@vhatsura
Copy link
Owner

vhatsura commented Aug 7, 2024

Hi, @overbit

Thanks for your contribution. To be honest, I didn't know about KafkaDependentProducer, and happy to know about it.

The issue with mismatched snapshots caused by tests for dependent produce as they are writing messages into the same topics as other tests. If you specify the different topic name, the tests should be passed

@vhatsura
Copy link
Owner

vhatsura commented Aug 7, 2024

I'm going to bump up dependencies in follow-up PR, so, I'll regenerate snapshots there.
Thanks for contribution

@vhatsura vhatsura merged commit 0ac9890 into vhatsura:main Aug 7, 2024
1 of 2 checks passed
@overbit overbit deleted the add-support-dependent-producer branch August 14, 2024 12:00
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