Package com.datadog.api.client.v2.model
Class ObservabilityPipelineKafkaDestination
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineKafkaDestination
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineKafkaDestination
extends Object
The
kafka destination sends logs to Apache Kafka topics.
Supported pipeline types: logs
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineKafkaDestination(ObservabilityPipelineKafkaDestinationEncoding encoding, String id, List<String> inputs, String topic, ObservabilityPipelineKafkaDestinationType type) -
Method Summary
Modifier and TypeMethodDescriptionaddInputsItem(String inputsItem) addLibrdkafkaOptionsItem(ObservabilityPipelineKafkaLibrdkafkaOption librdkafkaOptionsItem) bootstrapServersKey(String bootstrapServersKey) booleanReturn true if this ObservabilityPipelineKafkaDestination object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Name of the environment variable or secret that holds the Kafka bootstrap servers list.Configuration for buffer settings on destination components.Compression codec for Kafka messages.Encoding format for log events.The field name to use for Kafka message headers.getId()The unique identifier for this component.A list of component IDs whose output is used as theinputfor this component.The field name to use as the Kafka message key.Optional list of advanced Kafka producer configuration options, defined as key-value pairs.Maximum time in milliseconds to wait for message delivery confirmation.Duration in seconds for the rate limit window.Maximum number of messages allowed per rate limit duration.getSasl()Specifies the SASL mechanism for authenticating with a Kafka cluster.Socket timeout in milliseconds for network requests.getTls()Configuration for enabling TLS encryption between the pipeline component and external services.getTopic()The Kafka topic name to publish logs to.getType()The destination type.inthashCode()headersKey(String headersKey) librdkafkaOptions(List<ObservabilityPipelineKafkaLibrdkafkaOption> librdkafkaOptions) messageTimeoutMs(Long messageTimeoutMs) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.rateLimitDurationSecs(Long rateLimitDurationSecs) rateLimitNum(Long rateLimitNum) voidsetBootstrapServersKey(String bootstrapServersKey) voidvoidvoidvoidsetHeadersKey(String headersKey) voidvoidvoidsetKeyField(String keyField) voidsetLibrdkafkaOptions(List<ObservabilityPipelineKafkaLibrdkafkaOption> librdkafkaOptions) voidsetMessageTimeoutMs(Long messageTimeoutMs) voidsetRateLimitDurationSecs(Long rateLimitDurationSecs) voidsetRateLimitNum(Long rateLimitNum) voidvoidsetSocketTimeoutMs(Long socketTimeoutMs) voidvoidvoidsocketTimeoutMs(Long socketTimeoutMs) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BOOTSTRAP_SERVERS_KEY
- See Also:
-
JSON_PROPERTY_BUFFER
- See Also:
-
JSON_PROPERTY_COMPRESSION
- See Also:
-
JSON_PROPERTY_ENCODING
- See Also:
-
JSON_PROPERTY_HEADERS_KEY
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_INPUTS
- See Also:
-
JSON_PROPERTY_KEY_FIELD
- See Also:
-
JSON_PROPERTY_LIBRDKAFKA_OPTIONS
- See Also:
-
JSON_PROPERTY_MESSAGE_TIMEOUT_MS
- See Also:
-
JSON_PROPERTY_RATE_LIMIT_DURATION_SECS
- See Also:
-
JSON_PROPERTY_RATE_LIMIT_NUM
- See Also:
-
JSON_PROPERTY_SASL
- See Also:
-
JSON_PROPERTY_SOCKET_TIMEOUT_MS
- See Also:
-
JSON_PROPERTY_TLS
- See Also:
-
JSON_PROPERTY_TOPIC
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineKafkaDestination
public ObservabilityPipelineKafkaDestination() -
ObservabilityPipelineKafkaDestination
public ObservabilityPipelineKafkaDestination(ObservabilityPipelineKafkaDestinationEncoding encoding, String id, List<String> inputs, String topic, ObservabilityPipelineKafkaDestinationType type)
-
-
Method Details
-
bootstrapServersKey
-
getBootstrapServersKey
Name of the environment variable or secret that holds the Kafka bootstrap servers list.- Returns:
- bootstrapServersKey
-
setBootstrapServersKey
-
buffer
-
getBuffer
Configuration for buffer settings on destination components.- Returns:
- buffer
-
setBuffer
-
compression
public ObservabilityPipelineKafkaDestination compression(ObservabilityPipelineKafkaDestinationCompression compression) -
getCompression
Compression codec for Kafka messages.- Returns:
- compression
-
setCompression
-
encoding
public ObservabilityPipelineKafkaDestination encoding(ObservabilityPipelineKafkaDestinationEncoding encoding) -
getEncoding
Encoding format for log events.- Returns:
- encoding
-
setEncoding
-
headersKey
-
getHeadersKey
The field name to use for Kafka message headers.- Returns:
- headersKey
-
setHeadersKey
-
id
-
getId
The unique identifier for this component.- Returns:
- id
-
setId
-
inputs
-
addInputsItem
-
getInputs
A list of component IDs whose output is used as theinputfor this component.- Returns:
- inputs
-
setInputs
-
keyField
-
getKeyField
The field name to use as the Kafka message key.- Returns:
- keyField
-
setKeyField
-
librdkafkaOptions
public ObservabilityPipelineKafkaDestination librdkafkaOptions(List<ObservabilityPipelineKafkaLibrdkafkaOption> librdkafkaOptions) -
addLibrdkafkaOptionsItem
public ObservabilityPipelineKafkaDestination addLibrdkafkaOptionsItem(ObservabilityPipelineKafkaLibrdkafkaOption librdkafkaOptionsItem) -
getLibrdkafkaOptions
Optional list of advanced Kafka producer configuration options, defined as key-value pairs.- Returns:
- librdkafkaOptions
-
setLibrdkafkaOptions
public void setLibrdkafkaOptions(List<ObservabilityPipelineKafkaLibrdkafkaOption> librdkafkaOptions) -
messageTimeoutMs
-
getMessageTimeoutMs
Maximum time in milliseconds to wait for message delivery confirmation. minimum: 1- Returns:
- messageTimeoutMs
-
setMessageTimeoutMs
-
rateLimitDurationSecs
-
getRateLimitDurationSecs
Duration in seconds for the rate limit window. minimum: 1- Returns:
- rateLimitDurationSecs
-
setRateLimitDurationSecs
-
rateLimitNum
-
getRateLimitNum
Maximum number of messages allowed per rate limit duration. minimum: 1- Returns:
- rateLimitNum
-
setRateLimitNum
-
sasl
-
getSasl
Specifies the SASL mechanism for authenticating with a Kafka cluster.- Returns:
- sasl
-
setSasl
-
socketTimeoutMs
-
getSocketTimeoutMs
Socket timeout in milliseconds for network requests. minimum: 10 maximum: 300000- Returns:
- socketTimeoutMs
-
setSocketTimeoutMs
-
tls
-
getTls
Configuration for enabling TLS encryption between the pipeline component and external services.- Returns:
- tls
-
setTls
-
topic
-
getTopic
The Kafka topic name to publish logs to.- Returns:
- topic
-
setTopic
-
type
-
getType
The destination type. The value should always bekafka.- Returns:
- type
-
setType
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- ObservabilityPipelineKafkaDestination
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this ObservabilityPipelineKafkaDestination object is equal to o. -
hashCode
public int hashCode() -
toString
-