Sharing Events with Streaming Channels
Sharing Events using Streaming Channels
Architecture
#[ServiceContext]
public function serviceMap(): DistributedServiceMap
{
return DistributedServiceMap::initialize()
->withEventMapping(
channelName: "ticket_events",
subscriptionKeys: ["user.*"],
)
->withEventMapping(
channelName: "order_events",
subscriptionKeys: ["user.*"],
);
}

Benefits of Streaming Channels for Event Distribution
In Memory Streaming Channel
RabbitMQ Streaming Channel
Kafka Streaming Channel
Multi-Service Example
Last updated
Was this helpful?