Package com.datadog.api.client.v2.model
Class ObservabilityPipelineKafkaSource
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineKafkaSource
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineKafkaSource
extends Object
The
kafka source ingests data from Apache Kafka topics.
Supported pipeline types: logs
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineKafkaSource(String groupId, String id, List<String> topics, ObservabilityPipelineKafkaSourceType type) -
Method Summary
Modifier and TypeMethodDescriptionaddLibrdkafkaOptionsItem(ObservabilityPipelineKafkaLibrdkafkaOption librdkafkaOptionsItem) addTopicsItem(String topicsItem) bootstrapServersKey(String bootstrapServersKey) booleanReturn true if this ObservabilityPipelineKafkaSource 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.Consumer group ID used by the Kafka client.getId()The unique identifier for this component.Optional list of advanced Kafka client configuration options, defined as key-value pairs.getSasl()Specifies the SASL mechanism for authenticating with a Kafka cluster.getTls()Configuration for enabling TLS encryption between the pipeline component and external services.A list of Kafka topic names to subscribe to.getType()The source type.inthashCode()librdkafkaOptions(List<ObservabilityPipelineKafkaLibrdkafkaOption> librdkafkaOptions) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetBootstrapServersKey(String bootstrapServersKey) voidsetGroupId(String groupId) voidvoidsetLibrdkafkaOptions(List<ObservabilityPipelineKafkaLibrdkafkaOption> librdkafkaOptions) voidvoidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BOOTSTRAP_SERVERS_KEY
- See Also:
-
JSON_PROPERTY_GROUP_ID
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_LIBRDKAFKA_OPTIONS
- See Also:
-
JSON_PROPERTY_SASL
- See Also:
-
JSON_PROPERTY_TLS
- See Also:
-
JSON_PROPERTY_TOPICS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineKafkaSource
public ObservabilityPipelineKafkaSource() -
ObservabilityPipelineKafkaSource
public ObservabilityPipelineKafkaSource(String groupId, String id, List<String> topics, ObservabilityPipelineKafkaSourceType type)
-
-
Method Details
-
bootstrapServersKey
-
getBootstrapServersKey
Name of the environment variable or secret that holds the Kafka bootstrap servers list.- Returns:
- bootstrapServersKey
-
setBootstrapServersKey
-
groupId
-
getGroupId
Consumer group ID used by the Kafka client.- Returns:
- groupId
-
setGroupId
-
id
-
getId
The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as theinputto downstream components).- Returns:
- id
-
setId
-
librdkafkaOptions
public ObservabilityPipelineKafkaSource librdkafkaOptions(List<ObservabilityPipelineKafkaLibrdkafkaOption> librdkafkaOptions) -
addLibrdkafkaOptionsItem
public ObservabilityPipelineKafkaSource addLibrdkafkaOptionsItem(ObservabilityPipelineKafkaLibrdkafkaOption librdkafkaOptionsItem) -
getLibrdkafkaOptions
Optional list of advanced Kafka client configuration options, defined as key-value pairs.- Returns:
- librdkafkaOptions
-
setLibrdkafkaOptions
public void setLibrdkafkaOptions(List<ObservabilityPipelineKafkaLibrdkafkaOption> librdkafkaOptions) -
sasl
-
getSasl
Specifies the SASL mechanism for authenticating with a Kafka cluster.- Returns:
- sasl
-
setSasl
-
tls
-
getTls
Configuration for enabling TLS encryption between the pipeline component and external services.- Returns:
- tls
-
setTls
-
topics
-
addTopicsItem
-
getTopics
A list of Kafka topic names to subscribe to. The source ingests messages from each topic specified.- Returns:
- topics
-
setTopics
-
type
-
getType
The source 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:
- ObservabilityPipelineKafkaSource
-
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 ObservabilityPipelineKafkaSource object is equal to o. -
hashCode
public int hashCode() -
toString
-