For my used it create additional instance of bridge and two more kafka topic which cause latency issue for data flowing between so -> s
So - source
p - processor
s - sink
Use-case for creating data flow
1) for new record flow should so => s
2) for update records flow should be so => p => s
DSL:
demo1=so|p > :foo
demo2=:demo1.so > :foo
demo3=:foo > s
Issues:
1)here data will flow from so -> Input channel/queue ->bridge(internal used demo.so topic) -> foo topic ->output channel/queue ->s
here data is flowing from source to sink using 4 queue which can latency issue compare to data flow like source ->kafka ->sink using regular spring boot with kafka consumer/producer using 1 kafka topic**
This will create so and foo as addition queues which will consume my resources and hardware.
2)Also this create additional instance of bridge and in real time i can configure amazon web service to scale my application instances(so,p,s) but who and how scaling processor .bridge is occurred
This will create additional spring boot application for bridge named as demo2.bridge which will share my resources and hardware
if I am trying to connect to different stream flows then bridge make sense but with in single and simple stream flow having bridge does not sounds like real time production solution .
Also if I am developing complex flow which has N fan out then this will create N bridge instance and N+ 2 addition queue/topics consuming additional resources and impacting application performance.
Can you suggest any better to implement above use case without having additional queues and instance creation