Class AmqpRawFmt
java.lang.Object
io.aiven.kafka.connect.amqp.sink.strategy.AbstractAmqpStrategy
io.aiven.kafka.connect.amqp.sink.strategy.AmqpRawFmt
- All Implemented Interfaces:
Strategy
A write strategy that expects the AMQP message to be contained in the Kafka value byte stream.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.aiven.kafka.connect.amqp.sink.strategy.AbstractAmqpStrategy
AbstractAmqpStrategy.TrackerSinkRecord -
Field Summary
Fields inherited from class io.aiven.kafka.connect.amqp.sink.strategy.AbstractAmqpStrategy
encoderDecoder, errantRecordHandler, sender -
Constructor Summary
ConstructorsConstructorDescriptionAmqpRawFmt(org.apache.qpid.protonj2.client.Sender sender, ErrantRecordHandler errantRecordHandler) Constructs the strategy. -
Method Summary
Methods inherited from class io.aiven.kafka.connect.amqp.sink.strategy.AbstractAmqpStrategy
flush, preCommit, write
-
Constructor Details
-
AmqpRawFmt
public AmqpRawFmt(org.apache.qpid.protonj2.client.Sender sender, ErrantRecordHandler errantRecordHandler) Constructs the strategy.- Parameters:
sender- the sender to use to send AMQP messages.errantRecordHandler- the handler for sink records with errors.
-