akka-http websocket : Multiple channel for accessing data from different db -


i working akka graph api build websocket multiple channels. 1 channel using akka streaming api consume data kafka , sending through websocket channel ui. whereas 1 accessing data database , sending data through different channel ui , 3rd scenario have merge data kafka + db , send through different channel.

i have finished implementing streaming part , able consume data in ui through websocket. 2nd , 3rd case not trying figure out how provide separate channel.

kafka ~> consumer ~> websocket ~> ui  db ~> db client ~> websocket ~>ui  kafka ~> consumer ~>|                     | websocket (merge data) ~> ui  db ~> db client ~>  |                     |         

since pretty new akka streaming api trying figure out best practice achieve same proper tests. pointers same appreciated.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -