-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I create an event? #53
Comments
https://github.com/rs/pushd#subscriptions Events are auto created at the time of the first subscription. |
"For instance, if your app is news related, you may want to create one subscriptable event for each news category." How do you do that? I don't see an example that actually creates an event. I see how to subscribe to an event, but not actually creating the even. |
As YogeshLele said, you can't create an event without subscribers, the only way is to subscribe first. As you can see in the doc : https://github.com/rs/pushd#event-ingestion "You don't need to create events before sending them. If nobody is subscribed to a given event, it will be simply ignored" |
OK. I guess I did not understand that it could be that simple. I was able to create an event, and then have a subscriber subscribed to the event. Thanks! |
I am trying to use curl to create an event from the command line to test pushd. I can register and I can ping, but I don't see how to create an event.
Thanks!
The text was updated successfully, but these errors were encountered: