Message Publisher
Custom Publisher
Custom Publisher
class MessagingConfiguration
{
#[ServiceContext]
public function distributedPublisher()
{
return KafkaPublisherConfiguration::createWithDefaults(
topicName: 'orders'
);
}
}Providing custom rdkafka configuration
Last updated
Was this helpful?