Topic.DefinitionStages.WithPartitioning Interface

public static interface Topic.DefinitionStages.WithPartitioning

The stage of the topic definition allowing to specify partitioning behaviour.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withPartitioning()

Specifies that partitioning should be enabled on this topic.

abstract WithCreate withoutPartitioning()

Specifies that the default partitioning should be disabled on this topic.

Method Details

withPartitioning

public abstract Topic.DefinitionStages.WithCreate withPartitioning()

Specifies that partitioning should be enabled on this topic.

Returns:

the next stage of topic definition

withoutPartitioning

public abstract Topic.DefinitionStages.WithCreate withoutPartitioning()

Specifies that the default partitioning should be disabled on this topic. Note: if the parent Service Bus is Premium SKU then partition cannot be disabled

Returns:

the next stage of topic definition

Applies to