Hey team, regarding `TrackingController` in datah...
# troubleshoot
r
Hey team, regarding
TrackingController
in datahub-frontend, any reason we want to flush here?
@big-carpet-38439 ^^ (sorry to pin you directly, but looks like you are the owner of this class 🙂 )
could we just setup a callback function in the producer.send() function? like
_producer.send(record, callback);
The reason why I am suggesting this is: looks like we(my company) have some kafka setup issue, our datahub-frontend could not produce the msg to kafka broker then the thread will stuck in the
_producer.flush();
step. After several clicks in the UI, I think we exhaust the play framework thread pool. In order to process a new request from UI, play will wait for the
TrackingController
to return, which seems has an timeout as 60s
b
Oh man
Well that's no good
Yeah this is just an oversight - we definitely should change this to be an async callback
Nice catch
r
cool Thanks.
b
@red-napkin-59945 were you planning to make this change?
r
not recently
trying to figure out what our Kafka setup's issue
hey @big-carpet-38439, I got some time today, if you have not changed it I could do the change
b
I have not had any bandwidth on this yet. If you wouldn’t mind I can help to make sure it gets merged in!