com.pulumi.azurenative.iotoperations.enums.DataFlowEndpointKafkaPartitionStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.iotoperations.enums;
import com.pulumi.core.annotations.EnumType;
import java.lang.String;
import java.util.Objects;
import java.util.StringJoiner;
/**
* Partition handling strategy. Can be default or static. No effect if the endpoint is used as a source.
*
*/
@EnumType
public enum DataFlowEndpointKafkaPartitionStrategy {
/**
* Default: Assigns messages to random partitions, using a round-robin algorithm.
*
*/
Default("Default"),
/**
* Static: Assigns messages to a fixed partition number that's derived from the instance ID of the dataflow.
*
*/
Static("Static"),
/**
* TOPIC Option
*
*/
Topic("Topic"),
/**
* PROPERTY Option
*
*/
Property("Property");
private final String value;
DataFlowEndpointKafkaPartitionStrategy(String value) {
this.value = Objects.requireNonNull(value);
}
@EnumType.Converter
public String getValue() {
return this.value;
}
@Override
public java.lang.String toString() {
return new StringJoiner(", ", "DataFlowEndpointKafkaPartitionStrategy[", "]")
.add("value='" + this.value + "'")
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy