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.

az eventhubs eventhub create fails with Event Hub names longer than 50 characters

See original GitHub issue

Describe the bug

Event Hub creation fails when creating with a name longer than 50 characters. This conflicts with the 256 character limit quoted in the quotas and limits documentation. I was also able to create Event Hubs with up to 256 character names as recently as 2.0.77.

Command Name az eventhubs eventhub create

Errors:

validation error: Parameter 'event_hub_name' must have length less than 50.

To Reproduce:

  • Run the Event Hub Create command az eventhubs eventhub create -g rg-name --namespace-name ns-name -n {name longer than 50 characters}

Expected Behavior

I would expect that the command should create the desired Event Hub as long as the name is less than 257 characters.

Environment Summary

Windows-10-10.0.19041-SP0
Python 3.6.8
Installer: MSI

azure-cli 2.10.1

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
samuelkoppescommented, Nov 2, 2020

This issue should be resolved, please upgrade to the latest version of the SDK and retest.

1reaction
yonzhancommented, Sep 2, 2020

eventhubs service team should look into this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Azure Event Hubs quotas and limits
This article provides limits and quotas for Azure Event Hubs. ... Size of an event hub name, -, 256 characters ... AMQP: 50...
Read more >
Solved: ConsumeAzureEventHub - correct EventHub name?
All letters in a container name must be lowercase. Must be from 3 to 63 characters long." The EventHub name contains underscore which...
Read more >
Azure Event Hub Tutorial | Big data message streaming service
Azure Event Hubs is highly scalable big data event processing service capable of processing millions of events per second.
Read more >
Azure Event Hubs - MigratoryData
To create a Kafka topic on Azure Event Hubs, run the following commands: ... -l eastus # create the Kafka topic az eventhubs...
Read more >
Azure Event Hubs Source Connector for Confluent Cloud
eventhubs.offset.type; max.events (defaults to 50 with a maximum of 499 events). For more information ...
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