You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<ahref="https://sourcefuse.github.io/arc-docs/arc-api-docs"target="_blank"><imgsrc="https://github.com/sourcefuse/loopback4-microservice-catalog/blob/master/docs/assets/logo-dark-bg.png?raw=true"alt="ARC By SourceFuse logo"title="ARC By SourceFuse"align="right"width="150" /></a>
4
2
5
-
ARC by SourceFuse is an open-source Rapid Application Development framework for developing cloud-native enterprise applications, utilizing prebuilt microservices and standardized architectures for deployment on private and public clouds.
<imgalt="Powered By LoopBack 4"src="https://img.shields.io/badge/Powered%20by-LoopBack 4-brightgreen" />
26
26
</a>
27
+
</p>
28
+
29
+
# Overview
30
+
31
+
This is a LoopBack 4 extension for adding message queue-based communication to your LoopBack applications. It provides a unified and extensible interface for working with different queuing systems.
32
+
33
+
✅ Supported Queue Connectors
34
+
35
+
- SQSConnector – Integrates with AWS SQS using @aws-sdk/client-sqs. Supports both message sending and consumption with polling, visibility timeout, etc.
36
+
37
+
- BullMQConnector – Integrates with BullMQ (Redis-based queue). Supports advanced job options like retries, backoff, consumer concurrency, and job polling.
38
+
39
+
- EventBridge - Allows sending events to AWS EventBridge with support for event buses and schemas. Provides the HTTPS endpoint for receiving events.
40
+
41
+
🧩 Core Features
42
+
- Component Based Approach
43
+
Central registry for queue components, enabling multi-queue usage in a single application.
44
+
45
+
-@producer() Decorator
46
+
Injects a producer for sending single or multiple typed events to any configured queue.
47
+
48
+
-@consumer Decorator
49
+
Registers a service class as a consumer for a specific event and queue, handling messages automatically.
50
+
51
+
- IProducer Interface
52
+
Exposes send() and sendMultiple() methods to send messages to queues.
53
+
54
+
- IConsumer Interface
55
+
Allows you to implement a handler for a specific event type and queue, supporting strongly typed data flow.
56
+
57
+
- Typed Event Streams
58
+
Encourages defining typed contracts for all events, improving consistency and type safety between producers and consumers.
59
+
60
+
You can configure one or more of the supported queue types in your application. For each, you simply provide the required connection and queue configuration. The rest—producer/consumer setup, bindings, and event handling—is abstracted and managed by the extension.
27
61
28
-
# Message bus queue connectors
29
62
30
-
This is the package for the message bus queue connectors component for LoopBack 4 applications.
31
-
It provides components to work with queues such as SQS, BullMQ and EventBridge
@sourceloop/message-bus-queue-connectors provides a decorator '@producer()' that can be used to access the producer of each msg queue. It expects one arguement defining the type of queue, of which producer u want to use. like
217
+
loopback4-message-queue-connector provides a decorator '@producer()' that can be used to access the producer of each msg queue. It expects one arguement defining the type of queue, of which producer u want to use. like
0 commit comments