Github user zhijiangW commented on the issue:
https://github.com/apache/flink/pull/4552
@NicoK , thanks for your reviews!
I have submitted all the patches you provided offline to address above
issues.
1. Remove `FLINK-8425` from this PR.
2. Do you think I should add more tests for `nextBufferIsEvent`? Because I
already verified that in previous related tests
3. For adding the switch issue, I found some difficulties to leave messages
for you offline. We can further confirm that.---
