Skip to content

Commit

Permalink
feat: add initial async php kafka consumer
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Oct 25, 2024
1 parent ef0a005 commit 8b85922
Show file tree
Hide file tree
Showing 4 changed files with 3,097 additions and 0 deletions.
1 change: 1 addition & 0 deletions consumer-php-kafka/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vendor
32 changes: 32 additions & 0 deletions consumer-php-kafka/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "pact-foundation/consumer-php-kafka",
"type": "project",
"require-dev": {
"pact-foundation/pact-php": "^10.0"
},
"autoload": {
"psr-4": {
"PactFoundation\\ConsumerPhpKafka\\": "src/"
}
},
"authors": [
{
"name": "Yousaf Nabi",
"email": "[email protected]"
}
],
"require": {
"slim/slim": "4.*",
"enqueue/rdkafka": "^0.10.20",
"php-di/slim-bridge": "^3.4",
"amphp/parallel": "^2.3"
},
"config": {
"allow-plugins": {
"pact-foundation/composer-downloads-plugin": true
}
},
"scripts": {
"start": "php -S localhost:9999 src/consumer.php"
}
}
Loading

0 comments on commit 8b85922

Please sign in to comment.