Open SmithJohnTaylor opened 4 years ago
@SmithJohnTaylor I didn't encounter this error in my environment using ./consumer_ccsr.py
.
@rspurgeon did you encounter this error in your environment (asking especially since you are working on https://github.com/confluentinc/examples/pull/657 )?
Update: I can reproduce this, and here is the fix:
- if line[0] != "#" and len(line) != 0:
+ if len(line) != 0 and line[0] != "#":
@rspurgeon can you add this into #657 ? If not, we'll make a separate PR.
Update: I can reproduce this, and here is the fix:
- if line[0] != "#" and len(line) != 0: + if len(line) != 0 and line[0] != "#":
@rspurgeon can you add this into #657 ? If not, we'll make a separate PR.
I can integrate it into #657
@rspurgeon @ybyzek @SmithJohnTaylor Friends, Can you please tell me why I am getting the below error:
Traceback (most recent call last):
File "./consumernv2.py", line 50, in
https://github.com/confluentinc/examples/tree/5.5.0-post/clients/cloud/python As per the docs, the config file should look like:
During runtime, ccloud_lib throws:
Upon removing the newline between
sasl.password...
and# Confluent Cloud...
it works as expected.It might be easier to update https://github.com/confluentinc/configuration-templates/blob/master/clients/cloud/librdkafka-sr.config than the code, but that's just my opinion! Leaving it up to the experts to decide.