Add extension rdkafka support

This commit is contained in:
crazywhalecc
2023-11-05 17:09:48 +08:00
parent ac7a236763
commit c0b52fc2d1
7 changed files with 134 additions and 0 deletions

View File

@@ -385,6 +385,15 @@
"libssh2"
]
},
"rdkafka": {
"type": "external",
"source": "ext-rdkafka",
"arg-type": "custom",
"cpp-extension": true,
"lib-depends": [
"librdkafka"
]
},
"swoole": {
"type": "external",
"source": "swoole",

View File

@@ -420,6 +420,18 @@
"pkg-config": {
"source": "pkg-config"
},
"librdkafka": {
"source": "librdkafka",
"static-libs-unix": [
"librdkafka.a",
"librdkafka++.a",
"librdkafka-static.a"
],
"lib-depends": [
"openssl",
"zlib"
]
},
"postgresql": {
"source": "postgresql",
"static-libs-unix": [

View File

@@ -42,6 +42,23 @@
"path": "COPYING"
}
},
"librdkafka": {
"type": "ghtar",
"repo": "confluentinc/librdkafka",
"license": {
"type": "file",
"path": "LICENSE"
}
},
"ext-rdkafka": {
"type": "ghtar",
"repo": "arnaud-lb/php-rdkafka",
"path": "php-src/ext/rdkafka",
"license": {
"type": "file",
"path": "LICENSE"
}
},
"ext-event": {
"type": "url",
"url": "https://bitbucket.org/osmanov/pecl-event/get/3.0.8.tar.gz",