Class ConfluentCloudDestinationImpl
- All Implemented Interfaces:
ConfluentCloudDestination
,Destination
,io.vrap.rmf.base.client.ModelBase
This destination can be used to push events and messages to Confluent Cloud. To set up a Subscription of this type, first, create a topic in Confluent Cloud. Then, to allow Composable Commerce to push events and messages to your topic, generate API keys for your topic, and create the Subscription destination using the generated credentials.
The Composable Commerce producer uses the following values: SASL_SSL
forsecurity.protocol
, PLAIN
forsasl.mechanism
, and the default value (1048576) for max.request.size
.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.subscription.ConfluentCloudDestination
CONFLUENT_CLOUD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getAcks()
The Kafkaacks
value.Partially hidden on retrieval for security reasons.Partially hidden on retrieval for security reasons.URL to the bootstrap server including the port number in the format<xxxxx>.<region>.<provider>.confluent.cloud:9092
.getKey()
The Kafka record key.getTopic()
The name of the topic.getType()
int
hashCode()
void
The Kafkaacks
value.void
Partially hidden on retrieval for security reasons.void
setApiSecret
(String apiSecret) Partially hidden on retrieval for security reasons.void
setBootstrapServer
(String bootstrapServer) URL to the bootstrap server including the port number in the format<xxxxx>.<region>.<provider>.confluent.cloud:9092
.void
The Kafka record key.void
The name of the topic.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.subscription.ConfluentCloudDestination
withConfluentCloudDestination
Methods inherited from interface com.commercetools.api.models.subscription.Destination
withDestination
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ConfluentCloudDestinationImpl
public ConfluentCloudDestinationImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceDestination
- Returns:
- type
-
getBootstrapServer
URL to the bootstrap server including the port number in the format
<xxxxx>.<region>.<provider>.confluent.cloud:9092
.- Specified by:
getBootstrapServer
in interfaceConfluentCloudDestination
- Returns:
- bootstrapServer
-
getApiKey
Partially hidden on retrieval for security reasons.
- Specified by:
getApiKey
in interfaceConfluentCloudDestination
- Returns:
- apiKey
-
getApiSecret
Partially hidden on retrieval for security reasons.
- Specified by:
getApiSecret
in interfaceConfluentCloudDestination
- Returns:
- apiSecret
-
getAcks
The Kafka
acks
value.- Specified by:
getAcks
in interfaceConfluentCloudDestination
- Returns:
- acks
-
getTopic
The name of the topic.
- Specified by:
getTopic
in interfaceConfluentCloudDestination
- Returns:
- topic
-
getKey
The Kafka record key.
- Specified by:
getKey
in interfaceConfluentCloudDestination
- Returns:
- key
-
setBootstrapServer
Description copied from interface:ConfluentCloudDestination
URL to the bootstrap server including the port number in the format
<xxxxx>.<region>.<provider>.confluent.cloud:9092
.- Specified by:
setBootstrapServer
in interfaceConfluentCloudDestination
- Parameters:
bootstrapServer
- value to be set
-
setApiKey
Description copied from interface:ConfluentCloudDestination
Partially hidden on retrieval for security reasons.
- Specified by:
setApiKey
in interfaceConfluentCloudDestination
- Parameters:
apiKey
- value to be set
-
setApiSecret
Description copied from interface:ConfluentCloudDestination
Partially hidden on retrieval for security reasons.
- Specified by:
setApiSecret
in interfaceConfluentCloudDestination
- Parameters:
apiSecret
- value to be set
-
setAcks
Description copied from interface:ConfluentCloudDestination
The Kafka
acks
value.- Specified by:
setAcks
in interfaceConfluentCloudDestination
- Parameters:
acks
- value to be set
-
setTopic
Description copied from interface:ConfluentCloudDestination
The name of the topic.
- Specified by:
setTopic
in interfaceConfluentCloudDestination
- Parameters:
topic
- value to be set
-
setKey
Description copied from interface:ConfluentCloudDestination
The Kafka record key.
- Specified by:
setKey
in interfaceConfluentCloudDestination
- Parameters:
key
- value to be set
-
equals
-
hashCode
-