public interface ProducerInterceptor
ProducerInterceptoris used to intercept send operations of producer.
The interceptor is able to view or modify the message being transmitted and collect the send record.
|Modifier and Type||Method and Description|
Invoked immediately after the successful send invocation.
Invoked before the message is actually sent to the network.
This allows for modification of the message if necessary.
message- a message will be sent.
attributes- the extensible attributes delivered to the intercept thread.
Copyright © 2017–2020 OpenMessaging. All rights reserved.