| Modifier and Type | Method and Description |
|---|---|
MigratoryDataMessage.QoS |
MigratoryDataMessage.getQos()
Get the QoS level of the message.
|
static MigratoryDataMessage.QoS |
MigratoryDataMessage.QoS.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MigratoryDataMessage.QoS[] |
MigratoryDataMessage.QoS.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.kafka.clients.producer.ProducerRecord<String,byte[]> |
MigratoryDataKafkaUtils.createRecord(String topic,
int partition,
long timestamp,
String key,
byte[] value,
boolean compression,
MigratoryDataMessage.QoS qos,
boolean retained)
Creates a Kafka record with a specified timestamp to be sent to a specified topic and partition, with customizable quality of service, compression, and retention options for MigratoryData
|
static org.apache.kafka.clients.producer.ProducerRecord<String,byte[]> |
MigratoryDataKafkaUtils.createRecord(String topic,
int partition,
String key,
byte[] value,
boolean compression,
MigratoryDataMessage.QoS qos,
boolean retained)
Creates a Kafka record to be sent to a specified topic and partition, with customizable quality of service, compression, and retention options for MigratoryData
|
static org.apache.kafka.clients.producer.ProducerRecord<String,byte[]> |
MigratoryDataKafkaUtils.createRecord(String topic,
String key,
byte[] value,
boolean compression,
MigratoryDataMessage.QoS qos,
boolean retained)
Creates a Kafka record to be sent to a specified topic, with customizable quality of service, compression, and retention options for MigratoryData
|
| Constructor and Description |
|---|
MigratoryDataMessage(String subject,
byte[] content,
String closure,
MigratoryDataMessage.QoS qos,
boolean retained)
Create a MigratoryDataMessage object.
|
MigratoryDataMessage(String subject,
byte[] content,
String closure,
MigratoryDataMessage.QoS qos,
boolean retained,
String replySubject)
Create a MigratoryDataMessage object.
|
Copyright © 2023. All rights reserved.