-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
48 changed files
with
3,587 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,3 +37,4 @@ site/ | |
.mypy_cache | ||
tmp.db | ||
.python-version | ||
asyncapi.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
version: "3.8" | ||
services: | ||
nats: | ||
image: nats:latest | ||
command: "-js" | ||
ports: | ||
- "4222:4222" | ||
volumes: | ||
- nats-jetstream:/tmp/nats/jetstream | ||
- nats-data:/data | ||
redis: | ||
image: redis:alpine | ||
ports: | ||
- "6379:6379" | ||
rabbitmq: | ||
image: rabbitmq:3.8-management | ||
environment: | ||
RABBITMQ_DEFAULT_USER: rabbitmq | ||
RABBITMQ_DEFAULT_PASS: rabbitmq | ||
ports: | ||
- "5672:5672" | ||
- "1567:1567" | ||
- "15672:15672" | ||
zookeeper: | ||
image: docker.io/bitnami/zookeeper:3.8 | ||
ports: | ||
- "2181:2181" | ||
environment: | ||
- ALLOW_ANONYMOUS_LOGIN=yes | ||
kafka: | ||
image: docker.io/bitnami/kafka:3.2 | ||
ports: | ||
- "9092:9092" | ||
environment: | ||
KAFKA_BROKER_ID: 1 | ||
KAFKA_CFG_ZOOKEEPER_CONNECT: "zookeeper:2181" | ||
ALLOW_PLAINTEXT_LISTENER: "yes" | ||
KAFKA_CREATE_TOPICS: "test.topic:1:1" | ||
KAFKA_ADVERTISED_HOST_NAME: localhost:9092 | ||
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://localhost:9092 | ||
KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT | ||
depends_on: | ||
- zookeeper | ||
|
||
volumes: | ||
nats-jetstream: | ||
nats-data: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = "0.3.0rc0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
from .__about__ import __version__ | ||
from .broker import Broker | ||
from .consumer import Consumer, ConsumerGroup, GenericConsumer | ||
from .middleware import Middleware | ||
from .models import CloudEvent, Publishes | ||
from .results import Result | ||
from .service import Service | ||
|
||
__all__ = [ | ||
"__version__", | ||
"Broker", | ||
"Consumer", | ||
"ConsumerGroup", | ||
"CloudEvent", | ||
"Publishes", | ||
"GenericConsumer", | ||
"Middleware", | ||
"Result", | ||
"Service", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from .cli import cli | ||
|
||
if __name__ == "__main__": | ||
cli() |
Oops, something went wrong.