I am using Python Beam SDK + Flink + Kafka.
In Pure Java + Flink implementation, I could use disableOperationChaining.
Refer to the example in the picture