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

Annoyning warn messages: Property [...] is not valid (kafka.utils.VerifiableProperties:70) #741

Open
akrava opened this issue Aug 28, 2020 · 1 comment

Comments

@akrava
Copy link

akrava commented Aug 28, 2020

Hi all! I have some issue in kafka-rest v4.1 and idea how to resolve it.

Description:

There are WARN messages in log file, that repeats in some time, about not valid properties, but such properties are present in documentation.

Version 4.1.4

Steps to reproduce:

Add to kafka-rest config file config/kafka-rest.properties such properties:

ssl.keystore.location=...
ssl.keystore.password=...
ssl.key.password=...

Then, restart kafka-rest service and keep it running for a couple of minutes

Actual result:

In log file we can see warn messages:

$ grep Property logs/kafka-rest.log
[2020-08-28 10:06:43,534] INFO Property zookeeper.connect is overridden to (kafka.utils.VerifiableProperties:66)
[2020-08-28 10:06:43,547] INFO Property group.id is overridden to (kafka.utils.VerifiableProperties:66)
[2020-08-28 10:06:43,547] WARN Property listeners is not valid (kafka.utils.VerifiableProperties:70)
[2020-08-28 10:06:43,547] WARN Property ssl.key.password is not valid (kafka.utils.VerifiableProperties:70)
[2020-08-28 10:06:43,547] WARN Property ssl.keystore.location is not valid (kafka.utils.VerifiableProperties:70)
[2020-08-28 10:06:43,547] WARN Property ssl.keystore.password is not valid (kafka.utils.VerifiableProperties:70)

Expected result:

No WARN messages about not valid properties, because this options are present in documentation so it could not be valid

@akrava
Copy link
Author

akrava commented Aug 28, 2020

After debugging a couple of times, I realized, that issue is in line in file:

simpleConsumerConfig = new SimpleConsumerConfig(config.getOriginalProperties());

It seems that we should pass only client and consumer properties in such way, isn't it?

simpleConsumerConfig = new SimpleConsumerConfig(config.getConsumerProperties());

Created PR #742, who can review it? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant