Let's say you have a stream like:
{ "name": "Aardvark", "text": "hey" }
{ "name": "Baboon", "text": "hello"
{ "name" "Aardvark": "text": "wanna watch a movie" }
I want to tee, but instead of ending up with two streams I want to spawn one stream per .name. In the above example, I should end up with two streams, one for Aardvark and one for Baboon. If there are more participants, I'd like to have more streams. Is there a canonical way to do this?
Let's say you have a stream like:
I want to tee, but instead of ending up with two streams I want to spawn one stream per
.name. In the above example, I should end up with two streams, one for Aardvark and one for Baboon. If there are more participants, I'd like to have more streams. Is there a canonical way to do this?