You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to combine the Bull and Postmarks to send the email.
So, I put the postmarks code in the Bull consumer part, and I want to send a message to Kafka topic under @OnQueueCompleted decorator.
Here is my code:
@OnQueueCompleted()
onComplete(job: Job, result: any) {
console.log(result)
this.kfk.emit('Notification', {
MessageID: result['MessageID'],
});
}
somehow, this code will call the producer again which is not what I want.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I want to combine the Bull and Postmarks to send the email.
So, I put the postmarks code in the Bull consumer part, and I want to send a message to Kafka topic under @OnQueueCompleted decorator.
Here is my code:
@OnQueueCompleted()
onComplete(job: Job, result: any) {
console.log(result)
this.kfk.emit('Notification', {
MessageID: result['MessageID'],
});
}
somehow, this code will call the producer again which is not what I want.
The text was updated successfully, but these errors were encountered: