![]() Messages sent to the AMQP queue are encoded as JSON. ![]() Proxy is provided to facilitate AMQP SSL for Spyglass. The server that provides this queue may use authentication, but it cannot have SSL enabled unless a Once Spyglass receives a webhook message from Twitch, it will take the important information from that message and send You may use your favorite reverse proxy if you wish, but if you're not sure, weĪnd jrcs/letsencrypt-nginx-proxy-companion. To bridge the gap, a reverse proxy service like Nginx or Apache can be used, along with aĬertificate provider. Spyglass exposes an HTTP server on port 8080 without SSL, and Twitch requires that any webhook callback URL for EventSub ![]() to_bytes( 8, byteorder = "big")ĭoc_binary_id = Binary( streamer_id_bytes + oid_bytes) Reverse Proxy binary streamer_id_bytes = streamer_id_int. This document requires the following information at the very least: To have Spyglass subscribe to events for a specific user, create a new document in the notifications collection set Thus, the MongoDB instance used for Spyglass Set change streams to watch for creation and deletion of those events. Spyglass will only subscribe to events from Twitch if notifications exist for those events, and it uses MongoDB replica Set to the URL where Spyglass will be opening its HTTP server, so that it can provide this URL to Twitch for SPYGLASS_WORKER_INDEX should be set to the index of the current worker, starting at 0,Īnd SPYGLASS_WORKER_TOTAL should be the total number of workers, starting at 1. These variables allow for efficient load balancing by only handling a subset of Spyglass requires three environment variables to be set: SPYGLASS_WORKER_INDEX, SPYGLASS_WORKER_TOTAL,Īnd SPYGLASS_WORKER_CALLBACK. Connection: queue: authentication: # optional username: password: logging: # optional level: # optional format: # optional error_webhook: # optional Environment Variables
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |