Reputation: 2929
I want to realize the next flow of kafka stream
from(kafka topic) -> transform (here should be http request) -> to (kafka topic)
Is it correct to set http request during tranformaton in kafka stream or its more correct to use standart consumer ?
Upvotes: 3
Views: 910
Reputation: 62285
It is possible but not recommended to do external requests within a transform()
because the request would need to be synchronous and thus negatively impacts performance (ie, throughput).
However, if this is no concern for you it's no problem to do external request.
Upvotes: 4