Skip to content

Commit a73c38c

Browse files
Merge pull request #53 from Nasdaq/release-0.5.x
Update NasdaqKafkaAvroConsumer.py
2 parents f0711de + 6b57b30 commit a73c38c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ncdssdk/src/main/python/ncdsclient/consumer/NasdaqKafkaAvroConsumer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def get_kafka_consumer(self, stream_name, timestamp=None):
105105
self.logger.debug(
106106
"offset: " + str(topic_partition.offset) + ", timestamp: " + str(timestamp))
107107
offsets_for_times = kafka_consumer.offsets_for_times(
108-
[topic_partition], self.kafka_cfg.TIMEOUT)
108+
[topic_partition], self.kafka_props.get(self.kafka_config_loader.TIMEOUT))
109109
except Exception as e:
110110
self.logger.exception(e)
111111
sys.exit(0)

0 commit comments

Comments
 (0)