Skip to content

Providing a timestamp to the ncds_client crashes #51

Description

@normand1

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions