AWSIoTKafkaActionHeader
Objective-C
@interface AWSIoTKafkaActionHeader
Swift
class AWSIoTKafkaActionHeader
Specifies a Kafka header using key-value pairs when you create a Rule’s Kafka Action. You can use these headers to route data from IoT clients to downstream Kafka clusters without modifying your message payload.
For more information about Rule’s Kafka action, see Apache Kafka.
Required parameters: [key, value]
-
The key of the Kafka header.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable key;
Swift
var key: String? { get set }
-
The value of the Kafka header.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable value;
Swift
var value: String? { get set }