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 WithCreate withNewConsumerGroup(String name)

Specifies that a new consumer group should be created for the event hub.

abstract WithCreate 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:

name - consumer group name

Returns:

next stage of the event hub definition

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:

name - consumer group name
metadata - consumer group metadata

Returns:

next stage of the event hub definition

Applies to