I have followed steps in this below link to achieve accumulator
But after 3rd step to retrieve this
myJobExecutionResult.getAccumulatorResult("num-lines");
If it was a batch job I can implement FlinkListener and override onJobExecuted and use "myJobExecutionResult", But in streaming approach from where I can get myJobExeuctionResult? Can anyone help me with example snippets?