Druid basic authentication: Not able to send data using tranquility

Hi,

I have enabled basic authentication for Druid. It works well. I need to pass credentials for running any queries.

however, I am not able to send any data to my druid instance using tranquility in my program after enabling auth. I am getting following error:

java.lang.IllegalStateException: Failed to save new beam for identifier[druid:overlord/pageviews] timestamp[2018-11-21T11:30:00.000Z]

``

If i disable auth by commenting out the auth related properties from common.runtime.properties , i am able to send data using the same program (sample program for sending data using tranquility).

The tranquility doc mentions properties that we need to add in case authentication is enabled for druid i.e. druidBeam.basicAuthUser & druidBeam.basicAuthPass . I have tried setting both these properties in my tranquility config file with proper values. Still not luck.

Does tranquility supports druid authentication as of now? what am i missing?

Thanks,

Prathamesh

Hi,

Support for basic Authentication was added in tranquility 0.8.3, i was using 0.8.2. After upgrading to latest version it seems to work fine.

Thanks,

Prathamesh