Forum Discussion
sonya_m
4 years agoSmartBear Alumni (Retired)
Hi dvictor, I found an article that might help: https://stackoverflow.com/questions/60433565/calling-getproperty-on-a-properties-instance-is-returning-null-instead-of-value
- dvictor4 years agoOccasional Contributor
Hi sonya_m thanks for your response.
I have tried using both props.put("A", "B") and props.setProperty("A", "B") to no avail.
Regardless of which method is used, when I go to load props into the linke of code below, props is still null with size of 0.
- KafkaConsumer<String, String> consumer = new KafkaConsumer<String, String>(props);
Related Content
- 3 years ago
- 2 years ago
- 11 months ago