Open vishesh-verma-coder opened 1 week ago
@vishesh-verma-coder It is the correct configuration variable, but restarting the connector only will not apply immediately the new configuration. You also have to reset the state of the connector. Could you confirm that you have done this step too ?
Ping @NiQuintin
Description
We are running some stream connectors and biggest problem is if we restart docker container, connector loses its state and then starts reading the data from redis stream from starting which reads historical logs also and sends unnecessary requests to stream endpoint [ex : QRadar]
This becomes more problematic when you have a good number of indicators and one day you restart docker container of the stream connector, then it will take a lot of time for the connector to stream historical indicators and there can be a delay in reading real time stream message.
I see a Configuration Parameter CONNECTOR_LIVE_STREAM_START_TIMESTAMP [ex: https://github.com/OpenCTI-Platform/connectors/tree/master/stream/qradar], which should allow us to define start time of the stream but it does not seem to work. In the stream connector code, I do not it getting referred anywhere.
Is this parameter in use CONNECTOR_LIVE_STREAM_START_TIMESTAMP ?
Environment
Reproducible Steps
Steps to create the smallest reproducible scenario:
There can be a control based on time/date to define from when stream connector should read the events from redis stream .