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
[](https://test.pactflow.io/pacticipants/pactflow-example-consumer-python-sns/branches/main/latest-version/can-i-deploy/to-environment/production/badge)
5
+
[](https://test.pactflow.io/pacticipants/pactflow-example-consumer-python-kafka/branches/main/latest-version/can-i-deploy/to-environment/production/badge)
This is an example of a Python AWS SNS consumer that uses Pact, [Pactflow](https://pactflow.io) and GitHub Actions to ensure that it is compatible with the expectations its consumers have of it.
11
+
This is an example of a Python Kafka consumer that uses Pact, [Pactflow](https://pactflow.io) and GitHub Actions to ensure that it is compatible with the expectations its consumers have of it.
12
12
13
-
All examples in the series `example-consumer-<language>-sns` provide the same functionality to be easily comparable across languages.
14
-
As such, please refer to [https://docs.pactflow.io/docs/examples/aws/sns/consumer/](AWS SNS Consumer Examples) to avoid unnecessary duplication of details here.
13
+
All examples in the series `example-consumer-<language>-kafka` provide the same functionality to be easily comparable across languages.
15
14
16
15
Language specific sections which differ from the canonical example only can be found below.
17
16
@@ -25,7 +24,7 @@ You're probably familiar with layered architectures such as Ports and Adaptors (
25
24
26
25
This code base is setup with this modularity in mind:
27
26
28
-
-[Lambda Handler](src/_lambda/product.py)
27
+
-[Kafka Handler](src/_kafka/product.py)
29
28
-[Event Service](src/product/product_service.py)
30
29
- Business Logic
31
30
-[Product](src/product/product.py)
@@ -43,4 +42,4 @@ See also:
43
42
### Testing
44
43
45
44
- Run the unit tests: `make test`
46
-
- Run a (local) lambda integration test: `make integration`
0 commit comments