rakutentech / kafka-firehose-nozzle

Forward logs from the Cloud Foundry Firehose to Apache Kafka
MIT License
13 stars 8 forks source link

Add token refresh logic #18

Closed sunshineperi closed 6 years ago

sunshineperi commented 6 years ago

we have updated noaa lib, in which token refresher logic is newly involved to fresh token when it is expired and got authorization error trying to connect to doppler. In this PR, we implement the interface of token_refresh, so that token will be automatically refreshed, and the app itself will not be crashed (and restarted)