question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG]: Eventhub consumer group is case insensitive but storage is not

See original GitHub issue

Describe the bug When using consumer groups there is a mismatch between what is accepted as name of ConsumerGroup vs Storage og state, and it can in fact be created several states per consumergroups.

To Reproduce Steps to reproduce the behavior:

  1. Create a consumergroup in a eventhub called “consumer1”
  2. Spin up a consumer for this eventhub
  3. Send a batch of events.
  4. Reconfigure this consumergroup in configuration of code (2) to be “Consumer1”
  5. Entire set of events in eventhub is in fact replayed.

Given that the consumergroup is called “consumer1” then it is possible to configure and access this consumergroup with all other caseings like “Consumer1”, “COnsumer1” etc. but there will be created a new state for each version in Storage:

  ../consumer1/
  ../Consumer1/
  ../COnsumer1/

Expected behavior

If eventhub consumer groups are allowing access based upon case insensitivity, then the storage of state should also be case insensitive. In storage only one folder should exist:

  ../consumer1/

If not then changing caseing in consumergroup from the actually created consumergroup should not be allowed. Accessing consumergroup “consumer1” with configuration of consumergroup “Consumer1” should fail.

Setup (please complete the following information):

  • OS: Azure, Azure Functions, but same for all users of Eventhub with this SDK
  • IDE : NA
  • Version of the Library used: Azure Functions 2.0, azure eventhub extensions as default.

Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Bug Description Added
  • Repro Steps Added
  • Setup information Added

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jfggdlcommented, Sep 27, 2019

@helgeu, Thank you for creating this issue and linking to a previous one. Serkant is looking at the issue.

0reactions
serkantkaracacommented, Aug 17, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

Receive events using Event Processor Host - Azure
Each instance of EventProcessorHost must have a unique value for this variable within a consumer group, so don't hard code this value.
Read more >
Facing an issue while fetching the event from eventhub
Hi Team, I have created the azure event trigger function app, I can see the consumer group, partition file being created at storage...
Read more >
Azure Event Hubs
Event Hubs is a fully managed, real-time data ingestion service that's simple, trusted, and scalable. Stream millions of events per second ...
Read more >
Microsoft.Azure.WebJobs.EventHubs: Value cannot be null ...
In the connection field you do not put in the connection string itself. Instead you put in the name (i.e. Key) of an...
Read more >
Azure Event Hubs Spring Cloud Stream Binder client library ...
Event Hub provides similar support of consumer group as Apache Kafka, but with ... azure_germany and azureusgovernment which are case insensitive | |azure ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found