英文:
Can I run Masstransit with Kafka and InMemory transport as IPC?
问题
你可以使用 MassTransit 结合 Kafka rider 和 InMemory transport 作为进程间的通信机制吗?还是唯一的选择是使用 RabbitMQ?
英文:
Can I use MassTransit with Kafka rider and InMemory transport as a communication mechanism between the processes? Or the only option here is to use RabbitMq?
答案1
得分: 1
Kafka既不是设计也不打算用于IPC(进程间通信)。Kafka的用例是事件流和数据分发/复制 - 这些用例在架构上是单向的。
我不会将Kafka用于请求/响应或其他调度式命令/事件消息模式。
很遗憾,这是基于观点的,而且您的问题并没有完全说明您的需求。但根据提供的有限信息,消息代理更适合,因为您提到了IPC。
英文:
Kafka is neither designed nor intended to be used for IPC (inter-process communication). Kafka use cases are event streaming and data distribution/replication – use cases that are unidirectional architecturally.
I would not use Kafka for request/response or other dispatch-style command/event message patterns.
> Unfortunately, this is opinion-based and your question isn't entirely clear as to your requirements. But based on what little information is available, a message broker is more suitable since you mentioned IPC.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论