newrelic-ruby-agent icon indicating copy to clipboard operation
newrelic-ruby-agent copied to clipboard

Create test app using ruby-kafka

Open tannalynn opened this issue 1 year ago • 4 comments

Using the ruby-kafka gem, create a test app that will talk to the aws kafka service.

tannalynn avatar Jul 19 '24 16:07 tannalynn

https://new-relic.atlassian.net/browse/NR-293607

hey, friendly notice, that ruby-kafka is fully deprecated: https://github.com/zendesk/ruby-kafka

as stated there is is replaced by https://github.com/karafka/rdkafka-ruby

mensfeld avatar Jul 31 '24 08:07 mensfeld

Hello! Thank you.

I did see that at when i started looking into the kafka gems, but after looking into it internally, we saw that we actually still have a decent amount of customers that are still using the ruby-kafka gem despite that. So to support those customers, we decided to add instrumentation for ruby-kafka as well, even though it is deprecated.

We don't actually use kafka for the agent itself, this issue is only to create a test app that simulates a customer using this gem with the ruby agent installed. Also, instrumentation added for ruby-kafka will only be installed on applications using the ruby-kafka gem, so customers using rdkafka will be unaffected by the ruby-kafka instrumentation.

Hopefully that makes sense, let me know if you have any other questions.

tannalynn avatar Jul 31 '24 14:07 tannalynn

Got it. Thanks

mensfeld avatar Jul 31 '24 14:07 mensfeld