Reputation: 71
I'm beginning to use Kubeflow and I've read about KFServing. There is this integration with Kafka to consume from a topic. What I need is to run an inference pipeline that consumes data from Kafka, does some data preproccessing, run the ML prediction and then publish the result back to Kafka, like this:
I know I could use Knative eventing to ingest data fro Kafka topic 1. Is there a way to use Kafka as a sink, or do I need to write a seperate container that publishes events to Kafka topic 2?
Thanks!
Upvotes: 2
Views: 794
Reputation: 1487
There is a new KafkaSink
resource in Knative Eventing that you can use to publish CloudEvents to a Kafka topic by sending them to the HTTP address exposed in the status.
Upvotes: 1
Reputation: 141
@openroy In this video at 50:33, the speaker says that a Service (like KFServing) can return the HTTP response into a reply channel.
Upvotes: 0