Novu

N

Novu

Open Source Community by Novu

Join

💬│support

🚀│general

Slow down in performance / Redis / self host

Hey, we've got a staging and production setup of Novu running on AWS ECS. When we've tested and tweaked things in the staging environment, we simply push the docker image to production and get it up and running there. But, here's the thing: lately, we've noticed that the production instance (which isn't heavily used right now) tends to slow down over time. Certain endpoints like feed and markAs take up to 40 seconds to complete, even for users with less than ten notifications. However, we stumbled upon something interesting today. We found that if we restart our Redis instance (which we don't normally do during deployments), Novu instantly becomes more responsive....

@novu/shared tweaks

Guys, I noticed a problem with the getContextPath function in the @novu/shared library. Back in version 0.12 I just tweaked that file with the required changes and completed a docker build and everything worked. Happy days. However, I have jumped to Novu version 0.16 and the same fix no longer works. In fact it appears that the tweaks version is no getting included in the build at all! Before, with version 0.12, my tweaked code was getting included in the resulting build/static/js/main.xxx.js file (and map file). However now, the code that is included is the same code from the original Novu repo (not my tweaks code) which is no longer present in my local repo / env when I am building the docker image! One other item to note, is that I do not change the version number of the @novu/shared library in my local repo, I keep everything the same as before Is the @novu/shared library that is getting included in my docker build getting pulled from the internet and not getting build locally?...

Postmark Integration Error

I'm running Novu locally. When I try to add email integration for Postmark. I get the following error.

Maximum loadout

Hi, did you test what is the maximum loadout for novu to be hold? How about scaling api and ws on k8s is it possible? And what is the maximum loadout for api and ws to be hold by single instance?

Migrate notifications from MySQL database to Novu

Hello, right now in my system I have a notifications drawer that retrieves the notifications from a MySQL database, and I am working on implementing Novu. I was wondering if there is a way to migrate my old notifications onto Novu so the users don't lose them.

Update SubscriberId

During sign up I'm creating a userid which is being used as the subscriber id, later on I'm assigning a new token to this user which I wish to use as the new SubscriberId. Can I update the subscriberId to this token.

Subscribers limit?

Is there any limit on how many subscribers I can add?

Storing of scheduled messages

Does Novu store scheduled notifications in memory or permanent storage? The reason to ask is if the system hosting Novu is rebooted, do the scheduled notifications get wiped off? I am using self hosted Novu, hence the question....

Is there a way in Novu to stop sending the same email more than once to subscribers?

If the email gets triggers twice can I stop it from being delivered to subscribers if they have already received the same email.

Triggering Emails to multiple providers

Is there any way of triggering email to multiple subscriber ids at once or do I do it inside a for loop

Is there an API to bulk-delete messages?

E.g. if i have a list of 10 messages I want to delete

How many transaction IDs can be supported in the messages endpoint?

Let's say I am trying to get messages for multiple transactions. How many transactions can I fetch messages for at once?

Websocket Service

Hi, Is there any authentication mechanism for web socket ?

Provider with multiple sender id

I have a provider for which I have multiple Sender ID . But as per your implementation only single sender id can be provided for a provider . Is there a way multiple sender id can be configured for a provider ? @Support...

Is there a way to set an expiry on triggered notifications?

For example if I am triggering notifications that I want to expire (delete) within x hours

Trigger event with template id

Can we pass template id (Mongo Id) in the payload while calling the trigger event API? The reason I ask is I noticed there is some inconsistency regarding templates. Update or Delete templates requires template id but sending notification requires template name....

Getting 402 error while triggering the error

Hey guys I am trying to trigger an email notification from my node js app and getting this error message "Request failed with status code 422" ...

Switch Workflow Notification template if Digest

Scenario: We want to change the content of a Notification, if the notification contains only 1 event (to support pluralisation) Problem: The following expression is always true, even if there is only 1 event:...

Add dynamic filter to a topic

Scenario: We want to notify all subscriber of a topic when a new file was uploaded to the server, so we are trigger an event to a topic using the .NET SDK: ```csharp var dto = new EventTopicTriggerDto()...

App crashing

I'm having an issue with clicking on the action. As seen in the video I get sent straight to an error page. I haven't been able to figure out the root cause as of why this is happening, so I was hoping you guys could guide me in the correct direction.