Class KafkaTelemetryRequest
java.lang.Object
com.dtsx.astra.sdk.db.domain.telemetry.KafkaTelemetryRequest
Pojo to setup Telemetry with Astra and Kafka.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets bootstrapServersGets saslMechanismGets saslPasswordGets saslUsernameGets security_protocolgetTopic()
Gets topicvoid
setBootstrapServers
(Set<String> bootstrapServers) Set value for bootstrapServersvoid
setSaslMechanism
(String saslMechanism) Set value for saslMechanismvoid
setSaslPassword
(String saslPassword) Set value for saslPasswordvoid
setSaslUsername
(String saslUsername) Set value for saslUsernamevoid
setSecurity_protocol
(String security_protocol) Set value for security_protocolvoid
Set value for topic
-
Constructor Details
-
KafkaTelemetryRequest
public KafkaTelemetryRequest()Default Constructor. -
KafkaTelemetryRequest
public KafkaTelemetryRequest(Set<String> bootstrapServers, String topic, String sasl_mechanism, String sasl_username, String sasl_password, String security_protocol) Full Constructor.- Parameters:
bootstrapServers
- bootstrapstopic
- topicsasl_mechanism
- mechanismsasl_username
- usernamesasl_password
- passwordsecurity_protocol
- protocol
-
-
Method Details
-
setSaslMechanism
Set value for saslMechanism- Parameters:
saslMechanism
- new value for saslMechanism
-
setSaslUsername
Set value for saslUsername- Parameters:
saslUsername
- new value for saslUsername
-
setSaslPassword
Set value for saslPassword- Parameters:
saslPassword
- new value for saslPassword
-
getSaslMechanism
Gets saslMechanism- Returns:
- value of saslMechanism
-
getSaslUsername
Gets saslUsername- Returns:
- value of saslUsername
-
getSaslPassword
Gets saslPassword- Returns:
- value of saslPassword
-
setBootstrapServers
Set value for bootstrapServers- Parameters:
bootstrapServers
- new value for bootstrapServers
-
setTopic
Set value for topic- Parameters:
topic
- new value for topic
-
setSecurity_protocol
Set value for security_protocol- Parameters:
security_protocol
- new value for security_protocol
-
getBootstrapServers
Gets bootstrapServers- Returns:
- value of bootstrapServers
-
getTopic
Gets topic- Returns:
- value of topic
-
getSecurity_protocol
Gets security_protocol- Returns:
- value of security_protocol
-