zalando-nakadi / nakadi-ui

Official Nakadi user interface.
MIT License
69 stars 12 forks source link

Display service id along with/instead of consuming application #16

Open AlexanderYastrebov opened 6 years ago

AlexanderYastrebov commented 6 years ago

As an event owner I want to know service id of consumer So it is possible to configure authorization

Authorization configuration requires consumer service id while nakadi ui displays application name supplied by consumer which may be different from service id.

SergKam commented 6 years ago

If I understand correctly, you are talking about owning_application in a subscription. https://nakadi.io/manual.html#definition_Subscription*owning_application Because "low-level" consumers shown are taken form auth token. There are several problems with a subscription that cannot be solved on UI level.

(Zalando specific workaround) The only reliable method of finding readers for a subscription (for adding them to authz config) is to look at the zmon graph of subscription. screenshot 44 The graph a bit brocken right now, you need manualy change nakadi-live to nakadi-live-consumption at the top. screenshot 46

but then you will see the real name of consuming app for authz. screenshot 45

whiskeysierra commented 6 years ago

Even more, the "sub" in auth token used to read from subscription can be different from owning_application

Isn't that exactly the problem?