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

Incoming and Outgoing Messages are not equal when producing and consuming a single message #213

Open
joshuaphelpsms opened this issue Oct 14, 2022 · 0 comments

Comments

@joshuaphelpsms
Copy link

Description

I am running the Python sample under quickstart and observing Incoming Messages and Outgoing Messages in Azure Monitor. When I send a single message, the Incoming Messages metric is 1 but Outgoing Messages shows 2. When I send more than one message, the metrics are equal. I am trying to understand why they are out of sync for a single message.

I don't see this behavior when not using the Kafka protocol for Event Hubs.

Screen Shot 2022-10-14 at 2 43 46 PM

How to reproduce

  1. Create an Event Hub with a single partition under the Standard pricing tier
  2. Run the sample under quickstart/python and produce and consume a single message.
  3. Observe the metrics in Azure Monitor

Has it worked previously?

I noticed this behavior a few months ago and validated it again today. I'm unsure if this has always been the case.

Checklist

IMPORTANT: We will close issues where the checklist has not been completed or where adequate information has not been provided.

Please provide the relevant information for the following items:

  • [ x] SDK (include version info): confluent-kafka 1.9.2
  • [ x] Sample you're having trouble with: Python quickstart
  • [ x] Kafka client configuration: I did not modify the sample configuration other than adding the connection string, namespace and ssl.ca.location
  • [ x] Namespace and EventHub/topic name: jtpeventhub/topic1
  • [x ] Operating system: 18.04.1-Ubuntu
  • Pricing tier: Standard
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

No branches or pull requests

1 participant