Re: Flink Elasticsearch Sink Issue

2019-06-21 Thread Ramya Ramamurthy
By default, flushOnCheckpoint is set to True. So ideally, based on env.enableCheckpointing(30); the flush to ES must be triggered every 30seconds, though our ES Flush timeout is 60 seconds. If the above assumption is correct, then still we do not see packets getting flushed till the next p

Re: Flink Elasticsearch Sink Issue

2019-06-21 Thread Ramya Ramamurthy
Yes, we do maintain checkpoints env.enableCheckpointing(30); But we assumed it is for Kafka consumer offsets. Not sure how this is useful in this case? Can you pls. elaborate on this. ~Ramya. On Fri, Jun 21, 2019 at 4:33 PM miki haiat wrote: > Did you set some checkpoints configuration?

Re: Flink Elasticsearch Sink Issue

2019-06-21 Thread miki haiat
Did you set some checkpoints configuration? On Fri, Jun 21, 2019, 13:17 Ramya Ramamurthy wrote: > Hi, > > We use Kafka->Flink->Elasticsearch in our project. > The data to the elasticsearch is not getting flushed, till the next batch > arrives. > E.g.: If the first batch contains 1000 packets, t