Problem Statement
Single consumer is consuming the message from the single topic partition. The consuming topic partition has 8578 messages The observation from Azure Eventhub Metrics, Outgoing message is high and seeing the Throttling Request.
This test is performed in Azure Eventhub with Standard Tier with 1 Throughput Unit.
Expected Result
Should see only the 8578 message in Outgoing message metrics and no Throttling Request should see.
Confluent Kafka Nuget Package version 2.1.1 is used for this test
Consumer Configuration
AutoOffsetReset =AutoOffsetReset.Earliest
EnableAutoOffsetStore = true
EnableAutoCommit = false
AutoCommitIntervalMs = 10000 //Used only when "EnableAutoCommit " is set to true
EnablePartitionEof = true
ConnectionsMaxIdleMs = 180000
MaxPartitionFetchBytes = 12518400 // 11.9 MB
PartitionAssignmentStrategy = PartitionAssignmentStrategy.CooperativeSticky
IsolationLevel = IsolationLevel.ReadUncommitted
SocketNagleDisable = true
SocketKeepaliveEnable = true
MetadataMaxAgeMs = 180000
SessionTimeoutMs = 30000
MaxPollIntervalMs = 300000
CancellationDelayMaxMs = 200,
Debug = "consumer,fetch"
Consumer Topic Metrics
![image](https://learn-attachment.microsoft.com/api/attachments/bc736c73-37b4-484c-9cce-4f7a1a3bdefe?platform=QnA)
Note: The incoming messages is there is different time frame. Messages are accumulated once performing the test with different ConsumerGroup for each run for test
Producer Topic Metrics
![image](https://learn-attachment.microsoft.com/api/attachments/9a96265e-baf9-40ca-8655-0b8f6fd42fad?platform=QnA)
Log details is uploaded in this (raw.githubusercontent.com/ksdvishnukumar/LogRepo/main/ForGithubLog.log)
The setting "MaxPartitionFetchBytes" is set as "12518400". Whether this number is set to 1 MB or 2 MB still see the same behavior.
But if i update AutoCommit is turned on, I see the below metrics
Consumer Metrics
![User's image](https://learn-attachment.microsoft.com/api/attachments/de009a1d-5db5-4b3c-a3ae-e48b4c8f9d30?platform=QnA)
Producer Metrics
![User's image](https://learn-attachment.microsoft.com/api/attachments/4337c985-5657-4dcd-a54b-375cca4dcc7e?platform=QnA)