mammoth-cpu-50312
07/24/2023, 9:19 PMmillions-activity-52391
07/24/2023, 9:19 PMmammoth-cpu-50312
07/24/2023, 9:20 PMthis.provider.createPersistenceQueue(
{
isMultiProcessor: true,
redisOpts: {
host: '<>',
port: <>,
password: '<>',
},
},
(err) => {
if (err) this.logger.warn({ err }, 'Error in RudderAnalytics createPersistenceQueue');
else this.logger.log('RudderAnalytics createPersistenceQueue successful');
},
);mammoth-cpu-50312
07/24/2023, 9:22 PMmillions-activity-52391
07/25/2023, 3:06 PMmammoth-cpu-50312
07/25/2023, 5:02 PMcompleted is constantly increasing, representing that the events that were sent across.
But since there’s no ttl on the entries, they keep on aggregating until redis runs out of memorymammoth-cpu-50312
07/25/2023, 5:23 PMhigh-zoo-17436
07/26/2023, 6:04 AMAlso, is it possible to expose these params from bull as optional config options in Rudder Node-SDK
https://github.com/OptimalBits/bull/blob/develop/REFERENCE.md#queueadd
This would mean the consumers can define how redis will behave as per their needs.Right now SDK is not built that way to expose this options. We can take it as a feature request.
mammoth-cpu-50312
07/26/2023, 7:13 AMmammoth-cpu-50312
07/27/2023, 8:44 PM