Skip to content

Event hub Samples issue #16339

@v-xuto

Description

@v-xuto

Section link1,link2,link3,link4,link5,link6:
image

Reason:
ValueError: The eventhub name can not be None or empty.

Suggestion:
Add a comment to CONNECTION_STR # connection string contains EventHub name.
Or
Add parameter eventhub_name=EVENTHUB_NAME , uptate to:

consumer_client = EventHubConsumerClient.from_connection_string(
    conn_str=CONNECTION_STR,
    consumer_group='$Default',
    checkpoint_store=checkpoint_store,  # For load-balancing and checkpoint. Leave None for no load-balancing.
    eventhub_name=EVENTHUB_NAME
)

@jongio for notification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClientThis issue points to a problem in the data-plane of the library.DocsEvent Hubsneeds-team-triageWorkflow: This issue needs the team to triage.test-manual-pass

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions