EventHub.DefinitionStages.WithConsumerGroup Interface
public static interface EventHub.DefinitionStages.WithConsumerGroup
The stage of the event hub definition allowing to add consumer group for the event hub.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withNewConsumerGroup(String name)
Specifies that a new consumer group should be created for the event hub. |
abstract
With |
withNewConsumerGroup(String name, String metadata)
Specifies that a new consumer group should be created for the event hub. |
Method Details
withNewConsumerGroup
public abstract EventHub.DefinitionStages.WithCreate withNewConsumerGroup(String name)
Specifies that a new consumer group should be created for the event hub.
Parameters:
Returns:
withNewConsumerGroup
public abstract EventHub.DefinitionStages.WithCreate withNewConsumerGroup(String name, String metadata)
Specifies that a new consumer group should be created for the event hub.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for