Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal error when topic/data/read is missing #514

Closed
tarvip opened this issue Nov 17, 2020 · 1 comment
Closed

Internal error when topic/data/read is missing #514

tarvip opened this issue Nov 17, 2020 · 1 comment
Labels
backend Need a backend update bug Something isn't working ui Need an ui update

Comments

@tarvip
Copy link
Contributor

tarvip commented Nov 17, 2020

I have to groups defined in my config:

groups:
  - name: group1
    roles:
      - topic/read
      - node/read
      - group/read
      - registry/read
  - name: group2
    roles:
      - topic/read
      - topic/data/read
      - node/read
      - group/read
      - registry/read

When logging in with privileges from group1 and clicking on Topic details button following error is shown:

Internal Server Error: Missing required configuration "bootstrap.servers" which has no default value.
org.apache.kafka.common.config.ConfigException: Missing required configuration "bootstrap.servers" which has no default value.
	at org.apache.kafka.common.config.ConfigDef.parseValue(ConfigDef.java:478)
	at org.apache.kafka.common.config.ConfigDef.parse(ConfigDef.java:468)
	at org.apache.kafka.common.config.AbstractConfig.<init>(AbstractConfig.java:108)
...

If logging in with group2 privieleges there is no such issue. I think it is related to topic/data/read privilege. bootstrap.servers is set my config, otherwise I wouldn't see topic list at all.

@tchiotludo tchiotludo added backend Need a backend update bug Something isn't working ui Need an ui update labels Nov 18, 2020
@ghost
Copy link

ghost commented Nov 18, 2020

Duplicate of #498, already fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Need a backend update bug Something isn't working ui Need an ui update
Projects
Status: Done
Development

No branches or pull requests

2 participants