我可以使用Kafka和InMemory传输来运行Masstransit作为IPC吗?

huangapple go评论57阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2023年7月3日 18:57:56
  • 转载请务必保留本文链接:https://go.coder-hub.com/76604094.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定