/AWS1/CL_IOTKAFKAACTION¶
Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_destinationarn TYPE /AWS1/IOTAWSARN /AWS1/IOTAWSARN¶
The ARN of Kafka action's VPC
TopicRuleDestination.
iv_topic TYPE /AWS1/IOTSTRING /AWS1/IOTSTRING¶
The Kafka topic for messages to be sent to the Kafka broker.
it_clientproperties TYPE /AWS1/CL_IOTCLIENTPROPERTIES_W=>TT_CLIENTPROPERTIES TT_CLIENTPROPERTIES¶
Properties of the Apache Kafka producer client.
Optional arguments:¶
iv_key TYPE /AWS1/IOTSTRING /AWS1/IOTSTRING¶
The Kafka message key.
iv_partition TYPE /AWS1/IOTSTRING /AWS1/IOTSTRING¶
The Kafka message partition.
it_headers TYPE /AWS1/CL_IOTKAFKAACTIONHEADER=>TT_KAFKAHEADERS TT_KAFKAHEADERS¶
The list of Kafka headers that you specify.
Queryable Attributes¶
destinationArn¶
The ARN of Kafka action's VPC
TopicRuleDestination.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DESTINATIONARN() |
Getter for DESTINATIONARN, with configurable default |
ASK_DESTINATIONARN() |
Getter for DESTINATIONARN w/ exceptions if field has no valu |
HAS_DESTINATIONARN() |
Determine if DESTINATIONARN has a value |
topic¶
The Kafka topic for messages to be sent to the Kafka broker.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TOPIC() |
Getter for TOPIC, with configurable default |
ASK_TOPIC() |
Getter for TOPIC w/ exceptions if field has no value |
HAS_TOPIC() |
Determine if TOPIC has a value |
key¶
The Kafka message key.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_KEY() |
Getter for KEY, with configurable default |
ASK_KEY() |
Getter for KEY w/ exceptions if field has no value |
HAS_KEY() |
Determine if KEY has a value |
partition¶
The Kafka message partition.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PARTITION() |
Getter for PARTITION, with configurable default |
ASK_PARTITION() |
Getter for PARTITION w/ exceptions if field has no value |
HAS_PARTITION() |
Determine if PARTITION has a value |
clientProperties¶
Properties of the Apache Kafka producer client.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CLIENTPROPERTIES() |
Getter for CLIENTPROPERTIES, with configurable default |
ASK_CLIENTPROPERTIES() |
Getter for CLIENTPROPERTIES w/ exceptions if field has no va |
HAS_CLIENTPROPERTIES() |
Determine if CLIENTPROPERTIES has a value |
headers¶
The list of Kafka headers that you specify.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_HEADERS() |
Getter for HEADERS, with configurable default |
ASK_HEADERS() |
Getter for HEADERS w/ exceptions if field has no value |
HAS_HEADERS() |
Determine if HEADERS has a value |