Skip to content

Conversation

@marvelm
Copy link
Collaborator

@marvelm marvelm commented Sep 18, 2017

Overview

  • Add disableFanOut option to subscriber options.

This is useful for sending messages exactly once.

To use with push notifications on parse-server:

// Parse config
{
 //...
 push: {
  // ...
   queueOptions: {
    messageQueueAdapter: 'parse-server-gcloud-pubsub',
    disableFanOut: true,
    disablePushWorker: false,
    channel: 'my-channel',
   }
 }
}

@marvelm marvelm requested a review from flovilmart September 18, 2017 20:08
@marvelm marvelm force-pushed the feature/disable-fan-out branch from cbf779f to ca24ea1 Compare September 18, 2017 20:42
@marvelm marvelm force-pushed the feature/disable-fan-out branch from 87e2326 to 6d0f76c Compare September 18, 2017 20:46
@ranhsd
Copy link
Collaborator

ranhsd commented Nov 7, 2017

Hi @marvelm sorry for the huge late in my response. Did you tested it and it works for you?
@flovilmart did you had the chance to review it?

@marvelm
Copy link
Collaborator Author

marvelm commented Nov 7, 2017

Hi @ranhsd. We've been running this in production for almost 2 months.

@marvelm
Copy link
Collaborator Author

marvelm commented Nov 7, 2017

I'll add some documentation around this feature before merging.

@ranhsd
Copy link
Collaborator

ranhsd commented Nov 7, 2017

Awesome! I will consider to use it as well.

Thank you!

@ranhsd ranhsd merged commit badc608 into master Nov 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants