You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, the user needs to define the token url and the scopes in a different format than for the rest of her application if she uses spring-boot-zalando-stups-tokens.
We should use the AccessTokens bean initialized by spring-boot-zalando-stups-tokens if it already is present.
The text was updated successfully, but these errors were encountered:
This is needed when deploying your application in Zalando's Kubernetes infrastructure, as there you just get your token into some file (and the app doesn't fetch it from some URL, or gets to decide which scopes to have).
An application can currently configure it like this, given that accessTokens is a bean implementing the AccessTokens interface, e.g. from tokens-spring-boot-starter.
Our library should be able to do this by itself, possibly with a configuration property saying which token to use from the AccessTokens object, possibly with a fallback to just nakadi.
Idea from @BGehrels: Only reuse existing AccessTokens bean if it exists and there is no nakadi-producer.access-token-uri defined (and we are not already using the existing Fahrschein bean from #85).
At the moment, the user needs to define the token url and the scopes in a different format than for the rest of her application if she uses spring-boot-zalando-stups-tokens.
We should use the AccessTokens bean initialized by spring-boot-zalando-stups-tokens if it already is present.
The text was updated successfully, but these errors were encountered: