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

Schema registry URL in configuration file not picked-up before SerDe flags validation #220

Closed
Perdjesk opened this issue Jan 20, 2020 · 1 comment
Labels
GREAT REPORT This is grade A issue material

Comments

@Perdjesk
Copy link

Steps to reproduce

  1. Create a configuration file:
$ cat kafkacat.conf
schema.registry.url=http://schema-registry-url:8080
metadata.broker.list=mybroker
  1. Run a kafkacat consumer using the above configuration file and enable avro SerDe
docker run -it -v "$PWD"/kafkacat.conf:/root/.config/kafkacat.conf --network=host edenhill/kafkacat:1.5.0 -C -t syslog -s avro

Actual result

% ERROR: -r requires -s avro and vice-versa

Expected result

The -r flag configuration must be picked-up from configuration file before flags validation.

@Perdjesk Perdjesk changed the title Schema registry URL in configuration file not picked-up before SerDE flags validation Schema registry URL in configuration file not picked-up before SerDe flags validation Jan 20, 2020
@edenhill
Copy link
Owner

Fixed on master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GREAT REPORT This is grade A issue material
Projects
None yet
Development

No branches or pull requests

2 participants