NasdaqCloudDataService-SDK-Python icon indicating copy to clipboard operation
NasdaqCloudDataService-SDK-Python copied to clipboard

Providing a timestamp to the ncds_client crashes

Open normand1 opened this issue 3 months ago • 0 comments

This issue can be reproduced by running the following example from the provided python_sdk_examples.ipynb notebook: Get first 10 messages of the stream from given timestamp

Running that example will crash with the following message:

2024-03-19 09:51:42,786 - ncdssdk.src.main.python.ncdsclient.consumer.NasdaqKafkaAvroConsumer - ERROR - 'dict' object has no attribute 'TIMEOUT'
Traceback (most recent call last):
  File "/NasdaqCloudDataService-SDK-Python/ncdssdk/src/main/python/ncdsclient/consumer/NasdaqKafkaAvroConsumer.py", line 108, in get_kafka_consumer
    [topic_partition], self.kafka_cfg.TIMEOUT)
AttributeError: 'dict' object has no attribute 'TIMEOUT'

normand1 avatar Mar 19 '24 14:03 normand1