Add NATS JetStream as a publish queue

Abierto
#1,194 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
go

Línea de trabajo

The payload names no files. Start by reading how the existing publish-queue providers for RabbitMQ, SQS and GCP Pub/Sub consume messages, acknowledge them and handle redelivery, and how the existing NATS JetStream internal queue is configured. Done means a configured JetStream stream and subject feed events through normal topic and destination matching, with acknowledgement and redelivery matching the other providers.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement

Is your feature request related to a problem? Please describe.
Outpost cannot currently subscribe to NATS Jetstream's stream as an event source. It uses JetStream for its internal queues? We can’t use it to ingest events and route them to configured destinations.

Describe the solution you'd like
Allow Outpost to be configured to subscribe to NATS JetStream stream and subject. When an event arrives, Outpost should process it through its normal topic and destination matching, then deliver it to the matching webhook or other destination.

The integration should follow the same approach as Outpost’s other publish-queue providers, including appropriate message acknowledgement and redelivery behavior.

Describe alternatives you've considered
We could run a separate bridge that consumes from JetStream and calls Outpost’s  /api/v1/publish  endpoint. This adds another service and another network hop.

Additional context
Outpost already supports NATS JetStream for internal delivery and logging queues. This request is for using JetStream as an incoming publish queue, similar to the existing RabbitMQ, SQS, and GCP Pub/Sub integrations.

Lenguaje dominante
Go
Estrellas
1.1k
Forks
70
Merge medio
3 d 9 h
PR fusionados (30 d)
34

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de hookdeck/outpost

Todos los issues de hookdeck/outpost

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.