Reputation: 5804
I need the source and output streams of my flink job to run inside the same node. Is there a way to do it?
Upvotes: 1
Views: 133
Reputation: 1775
There is a way to do it in Flink (> 1.0.0).
Check this link DataStream API - Task Chaining.
In particular you can use the slotSharingGroup()
API.
This will enable co-location of operators which do exactly what you want.
Upvotes: 1