You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2017/11/02 02:29:22 UTC
[GitHub] ServoKvd commented on issue #2913: De-link Kafka-topic from Invoker-Id
ServoKvd commented on issue #2913: De-link Kafka-topic from Invoker-Id
URL: https://github.com/apache/incubator-openwhisk/issues/2913#issuecomment-341299806
Hi Dave,
Kafka-topics are for "payload/message categories" and Invokers are Architectural entity instances,
So making the categories/topics to directly(1-1) map to Invoker-Ids is inflexible, Architecturally, I think.
As we know the Invokers can keep coming and going down and when an Invoker goes down the remaining messages in the partition should be automatically picked up by an Invoker with the same capabilities (eg. runtime, size of payloadetc.) , because an Invoker subscribes to a specific topic, based on its capabilities, so I think a topic should be tied to "capabilities - e.g runtime" than an Invoker-Id.
I'm expecting the latency may be more or less same, as the load-balancing is done by automatic subscription and the number of partitions in Kafka. But there should be a clear Kakfa Message Producer & Kafka Message Consumer", and the "Controller" & "LoadBalancer" can be Producer & Consume respectively.
Also of the 3 models for Kafka mentioned @ https://kafka.apache.org/intro probably, in openwhisk context, it is a a bit of "storage -system" for the messages, until they are addressed/consumer" , along with being a Messaging system (for other topics like Health and Invoker Registration)
This is my thinking - please correct/add as you see fit.
Thank you,
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services