Telegraf ( statsD ) input not writting to InfluxDB

Hello community members,

I am facing an issue while writing from statsD to influxDB.
I am using statsD as input and influxDB as output.

The issue is :

“When I try to run an application which writes its data to statsD and then to influxDB, it does not write”
“But with a sleep of 1s , this does write”

Telegraf is already defining time interval to collect metrics from statsD and write to influxDB.

I can not make my application to write it synchronously…

Did any one face this already ?