mq-bridge-basic 1.2.1__tar.gz → 1.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.dockerignore +1 -1
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.github/workflows/build-node.yml +11 -11
- mq_bridge_basic-1.4.0/.github/workflows/nim.yml +97 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.github/workflows/node.yml +8 -8
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.github/workflows/publish-node.yml +10 -10
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.github/workflows/publish-python.yml +6 -6
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.github/workflows/python.yml +7 -7
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.github/workflows/release.yml +7 -4
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.gitignore +2 -2
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.justfile +4 -4
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/AGENTS.md +2 -1
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/CHANGELOG.md +146 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/Cargo.lock +79 -108
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/Cargo.toml +27 -24
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/PKG-INFO +8 -8
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/README.md +7 -6
- mq_bridge_basic-1.4.0/benches/lookup/.gitignore +3 -0
- mq_bridge_basic-1.4.0/benches/lookup/README.md +83 -0
- mq_bridge_basic-1.4.0/benches/lookup/docker-compose.yml +31 -0
- mq_bridge_basic-1.4.0/benches/lookup/pgbench.py +101 -0
- mq_bridge_basic-1.4.0/benches/lookup/run.py +158 -0
- mq_bridge_basic-1.4.0/benches/lookup/run_file.py +177 -0
- mq_bridge_basic-1.4.0/benches/lookup/seed.sql +13 -0
- mq_bridge_basic-1.4.0/benches/lookup/summarize.py +110 -0
- {mq_bridge_basic-1.2.1/bindings-common → mq_bridge_basic-1.4.0/bindings/common}/Cargo.toml +1 -1
- mq_bridge_basic-1.4.0/bindings/nim/.gitignore +10 -0
- mq_bridge_basic-1.4.0/bindings/nim/README.md +157 -0
- mq_bridge_basic-1.4.0/bindings/nim/examples/README.md +65 -0
- mq_bridge_basic-1.4.0/bindings/nim/examples/config.nims +18 -0
- mq_bridge_basic-1.4.0/bindings/nim/examples/connect_access_log.nim +49 -0
- mq_bridge_basic-1.4.0/bindings/nim/examples/csv_pipeline.nim +51 -0
- mq_bridge_basic-1.4.0/bindings/nim/examples/customer_lookup.nim +65 -0
- mq_bridge_basic-1.4.0/bindings/nim/examples/data/crm.sql +5 -0
- mq_bridge_basic-1.4.0/bindings/nim/examples/data/orders.jsonl +4 -0
- mq_bridge_basic-1.4.0/bindings/nim/examples/data/readings.csv +13 -0
- mq_bridge_basic-1.4.0/bindings/nim/examples/data/tickets.jsonl +20 -0
- mq_bridge_basic-1.4.0/bindings/nim/examples/llm_tickets.nim +83 -0
- mq_bridge_basic-1.4.0/bindings/nim/mq_bridge.nimble +49 -0
- mq_bridge_basic-1.4.0/bindings/nim/src/mq_bridge/client.nim +139 -0
- mq_bridge_basic-1.4.0/bindings/nim/src/mq_bridge/errors.nim +54 -0
- mq_bridge_basic-1.4.0/bindings/nim/src/mq_bridge/executor.nim +250 -0
- mq_bridge_basic-1.4.0/bindings/nim/src/mq_bridge/message.nim +121 -0
- mq_bridge_basic-1.4.0/bindings/nim/src/mq_bridge/plugin.nim +561 -0
- mq_bridge_basic-1.4.0/bindings/nim/src/mq_bridge/raw.nim +282 -0
- mq_bridge_basic-1.4.0/bindings/nim/src/mq_bridge/route.nim +210 -0
- mq_bridge_basic-1.4.0/bindings/nim/src/mq_bridge.nim +60 -0
- mq_bridge_basic-1.4.0/bindings/nim/tests/config.nims +35 -0
- mq_bridge_basic-1.4.0/bindings/nim/tests/tclient.nim +30 -0
- mq_bridge_basic-1.4.0/bindings/nim/tests/tdrift.nim +68 -0
- mq_bridge_basic-1.4.0/bindings/nim/tests/tmessage.nim +31 -0
- mq_bridge_basic-1.4.0/bindings/nim/tests/tplugin.nim +111 -0
- mq_bridge_basic-1.4.0/bindings/nim/tests/troute.nim +135 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/Cargo.toml +1 -1
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/README.md +7 -7
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/src/lib.rs +202 -1
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/tests/test_config_types.py +1 -1
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/docs/CAPABILITIES.md +2 -2
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/docs/CONFIGURATION.md +26 -1
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/docs/PLUGINS.md +46 -18
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/docs/REFERENCE.md +10 -1
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/docs/THIRD_PARTY_LICENSES.md +3 -3
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/c-library/smoke.c +52 -1
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/c-plugin/CMakeLists.txt +1 -1
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/c-plugin/README.md +3 -3
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/llm-ticket-triage/docker-compose.yml +1 -1
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/llm-ticket-triage/routes.yaml +1 -1
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/mq-bridge.schema.json +71 -5
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/mq_bridge/__init__.py +4 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/mq_bridge/__init__.pyi +22 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/mq_bridge/config.pyi +8 -1
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/pyproject.toml +1 -1
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/ci/check_third_party_notices.sh +3 -3
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/sync-version.mjs +9 -2
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/techempower/README.md +2 -2
- mq_bridge_basic-1.4.0/scripts/twelve-dollar/.gitignore +4 -0
- mq_bridge_basic-1.4.0/scripts/twelve-dollar/README.md +149 -0
- mq_bridge_basic-1.4.0/scripts/twelve-dollar/decompose.py +81 -0
- mq_bridge_basic-1.4.0/scripts/twelve-dollar/route.yaml +104 -0
- mq_bridge_basic-1.4.0/scripts/twelve-dollar/run.py +145 -0
- mq_bridge_basic-1.4.0/scripts/twelve-dollar/server_bench.py +87 -0
- mq_bridge_basic-1.4.0/src/blocking_handler.rs +354 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/checkpoint.rs +9 -4
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/command_handler.rs +59 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/amqp.rs +3 -2
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/capabilities.rs +2 -2
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/clickhouse.rs +46 -56
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/dir_spool/mod.rs +30 -8
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/grpc/mod.rs +13 -7
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/grpc/server.rs +5 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/http/mod.rs +56 -19
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/http/stream.rs +8 -3
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/http/tests.rs +187 -5
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/http_bulk/consumer.rs +66 -8
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/http_bulk/mod.rs +77 -41
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/http_bulk/presets.rs +57 -7
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/http_bulk/publisher.rs +5 -3
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/http_bulk/query.rs +36 -9
- mq_bridge_basic-1.4.0/src/endpoints/http_bulk/stream_query.rs +1174 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/kafka.rs +11 -10
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/mod.rs +84 -8
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/mongodb/mod.rs +4 -2
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/mqtt.rs +1 -10
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/postgres/replication.rs +30 -7
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/redis_streams.rs +6 -5
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/sqlx/columns.rs +5 -22
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/sqlx/mod.rs +74 -15
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/zeromq/mod.rs +2 -2
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/zeromq/zmq.rs +21 -1
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/event_store.rs +2 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/lib.rs +3 -2
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/aggregate/store.rs +5 -2
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/aggregate/tests.rs +4 -4
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/buffer.rs +84 -23
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/deduplication.rs +6 -6
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/lookup.rs +105 -15
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/mod.rs +1 -1
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/models/builders.rs +12 -1
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/models/secrets.rs +22 -1
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/models/serde_support.rs +19 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/models.rs +69 -2
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/plugin/discovery.rs +75 -16
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/plugin/mod.rs +2 -1
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/route.rs +67 -10
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/config_schema.rs +83 -18
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/interpolation.rs +297 -37
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/lookup_batch.rs +8 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/mod.rs +28 -2
- mq_bridge_basic-1.4.0/src/support/os_roots.rs +78 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/tls.rs +161 -19
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/tls_check.rs +45 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/traits.rs +14 -0
- mq_bridge_basic-1.2.1/include/cbindgen.toml +0 -113
- mq_bridge_basic-1.2.1/include/mq_bridge.h +0 -252
- mq_bridge_basic-1.2.1/include/mq_bridge_plugin.h +0 -659
- mq_bridge_basic-1.2.1/include/mq_bridge_plugin_helpers.h +0 -253
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.cargo/config.toml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.coderabbit.yaml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.gitattributes +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.github/dependabot.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.github/workflows/app.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.github/workflows/benchmark.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.github/workflows/ci.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.github/workflows/conda.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.github/workflows/docs.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.github/workflows/examples.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.github/workflows/ibm-mq.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/.github/workflows/test-matrix.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/CLAUDE.md +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/CONTRIBUTING.md +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/LICENSE-APACHE +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/LICENSE-APACHE.python +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/LICENSE-MIT +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/LICENSE-MIT.python +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/LICENSE.python +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/SECURITY.md +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/THIRD_PARTY_LICENSES.txt +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/benches/csv_to_json_bench.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/benches/middleware_expr_bench.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/benches/pack_bench.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/benches/performance_bench.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/benches/router_bench.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/benches/zeromq_backends.rs +0 -0
- {mq_bridge_basic-1.2.1/bindings-common → mq_bridge_basic-1.4.0/bindings/common}/src/lib.rs +0 -0
- {mq_bridge_basic-1.2.1/bindings-common → mq_bridge_basic-1.4.0/bindings/common}/src/logging.rs +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/LICENSE-APACHE.python +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/LICENSE-MIT.python +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/LICENSE.python +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/THIRD_PARTY_LICENSES.txt +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/analysis/bench_http_native.py +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/example.py +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/examples/IBM_MQ.md +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/examples/bench_memory.py +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/examples/bench_memory.yaml +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/examples/consume_pull.py +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/examples/dlt_source.py +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/examples/ibm-mq-input.py +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/examples/json_route.py +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/examples/memory.yaml +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/examples/raw_route.py +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/pyproject-basic.toml +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/pyproject-reduced.toml +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/scripts/gen_config_types.py +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/tests/test_custom_endpoint.py +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/tests/test_logging.py +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/tests/test_packaging.py +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/tests/test_performance_smoke.py +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/tests/test_plugin_package.py +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/tests/test_public_api.py +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/tests/test_routes.py +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/tests/test_shutdown.py +0 -0
- {mq_bridge_basic-1.2.1/python/mq-bridge-py → mq_bridge_basic-1.4.0/bindings/python}/uv.lock +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/build.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/deny.toml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/docs/ARCHITECTURE.md +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/docs/DELIVERY.md +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/docs/EXTENDING.md +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/docs/GRPC.md +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/docs/assets/copy-demo.png +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/c-library/publish.c +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/c-plugin/legacy_ledger.c +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/c-plugin/legacy_ledger.h +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/c-plugin/legacy_parser.c +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/c-plugin/legacy_parser.h +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/c-plugin/minimal.c +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/c-plugin/plugin.c +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/ipc_worker_queue.yaml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/llm-ticket-triage/README.md +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/llm-ticket-triage/test.sh +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/llm-ticket-triage/tickets.jsonl +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/mongodb-to-meilisearch/README.md +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/mongodb-to-meilisearch/docker-compose.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/mongodb-to-meilisearch/init.js +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/mongodb-to-meilisearch/routes.yaml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/mongodb-to-meilisearch/search.sh +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/mongodb-to-meilisearch/test.sh +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/order-features/README.md +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/order-features/docker-compose.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/order-features/init.sql +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/order-features/routes.yaml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/order-features/test.sh +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/postgres-cdc-to-qdrant/README.md +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/postgres-cdc-to-qdrant/docker-compose.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/postgres-cdc-to-qdrant/init.sql +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/postgres-cdc-to-qdrant/routes.yaml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/postgres-cdc-to-qdrant/search.sh +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/postgres-cdc-to-qdrant/test.sh +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/postgres-cdc-to-warehouse/Dockerfile +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/postgres-cdc-to-warehouse/README.md +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/postgres-cdc-to-warehouse/docker-compose.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/postgres-cdc-to-warehouse/init.sql +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/postgres-cdc-to-warehouse/routes.yaml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/postgres-cdc-to-warehouse/test.sh +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/postgres-cdc-to-warehouse/warehouse.sql +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/transactional-outbox/README.md +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/transactional-outbox/consume.sh +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/transactional-outbox/docker-compose.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/transactional-outbox/init.sql +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/transactional-outbox/routes.yaml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/examples/transactional-outbox/test.sh +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/llms.txt +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/mq_bridge/config.py +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/mq_bridge/plugin_packaging.py +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/mq_bridge/py.typed +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/package-lock.json +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/rustfmt.toml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/analysis/benches/metadata_bench.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/analysis/debug_ibm_mq_tls.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/analysis/http/analyze_xctrace_time_profile.py +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/analysis/http/http_flamegraph.py +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/analysis/http/mq_bridge_http_profile.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/analysis/http/run_http_ladder.sh +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/ci/format_bench_output.sh +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/httparena/README.md +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/httparena/frameworks/mq-bridge-py/Dockerfile +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/httparena/frameworks/mq-bridge-py/meta.json +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/httparena/frameworks/mq-bridge-py/server.py +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/httparena/frameworks/mq-bridge-py/templates/fortunes.html +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/mqb-agent.py +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/techempower/Python/mq-bridge-py/README.md +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/techempower/Python/mq-bridge-py/benchmark_config.json +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/techempower/Python/mq-bridge-py/mq-bridge-py.dockerfile +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/techempower/Python/mq-bridge-py/server.py +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/techempower/postgres.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/techempower/seed.sql +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/techempower/verify.sh +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/the-benchmarker/README.md +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/the-benchmarker/python/mq-bridge-py/config.yaml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/the-benchmarker/python/mq-bridge-py/pyproject.toml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/scripts/the-benchmarker/python/mq-bridge-py/server.py +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/canonical_message.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/config_file.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/aws.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/dir_spool/tests.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/file/csv_dialect.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/file/mod.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/file/tests.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/grpc/consumer.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/grpc/dynamic.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/grpc/proto/mqbridge/bridge.proto +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/grpc/publisher.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/grpc/tests.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/http/pool.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/http/publisher.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/http_bulk/auth.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/ibm_mq.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/memory/endpoint.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/memory/framed.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/memory/ipc_unix.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/memory/ipc_windows.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/memory/memory_transport.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/memory/mod.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/memory/transport.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/mongodb/aggregate.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/mongodb/consumer.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/mongodb/dedup.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/mongodb/publisher.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/mongodb/readers.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/mongodb/tests.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/nats.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/object_store.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/poll.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/postgres/VENDORED.md +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/postgres/mod.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/postgres/pgoutput/decoder.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/postgres/pgoutput/messages.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/postgres/pgoutput/mod.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/postgres/pgoutput/registry.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/postgres/pgoutput/values.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/postgres/state.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/sled.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/sqlx/aggregate.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/sqlx/dedup.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/sqlx/tests.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/structural/fanout.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/structural/mod.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/structural/null.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/structural/reader.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/structural/request.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/structural/response.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/structural/sequence.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/structural/static_endpoint.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/structural/stream_buffer.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/structural/switch.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/websocket.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/zeromq/codec.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/endpoints/zeromq/omq.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/errors.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/event_handler.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/extensions.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/aggregate/mod.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/aggregate/states.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/aggregate/writer.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/compression.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/cookie_jar.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/deduplication/memory.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/deferred_commit.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/delay.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/dlq.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/encryption.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/filter.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/id.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/limiter.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/metrics.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/otel.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/pack.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/random_panic.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/raw_json.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/retry.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/timeout.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/transform/coerce.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/transform/compiled.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/transform/error.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/transform/mod.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/transform/path.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/transform/schema.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/transform/tests.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/middleware/weak_join.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/models/defaults.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/models/tests.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/outcomes.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/plugin/completion.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/plugin/conformance.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/plugin/crash.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/plugin/endpoint.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/plugin/forward.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/plugin/host.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/plugin/message.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/plugin/middleware.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/plugin/sdk.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/plugin/test_support.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/publisher.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/response.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/route/flush_gate.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/shutdown.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/base64_engine.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/change_op.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/compression.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/compression_pool.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/connection_registry.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/crypto.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/crypto_envelope.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/http_status.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/local_staging.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/ndjson.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/pack.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/parallel.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/parquet.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/plugin_abi.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/poll_job.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/redact.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/source_ranges.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/sse.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/support/stream_batch.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/test_utils.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/src/type_handler.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/README.md +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/armature_integration.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/compat/python/bridge_client.py +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/dedup_store_bench.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/delivery_guarantee_test.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/full_plugin_fallback_test.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/amqp.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/aws.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/clickhouse.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/config.toml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/contract.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/amqp.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/aws.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/clickhouse.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/ibm-mq-certs/client.crl +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/ibm-mq-certs/client.kdb +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/ibm-mq-certs/client.p12 +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/ibm-mq-certs/client.rdb +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/ibm-mq-certs/client.sth +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/ibm_mq.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/ibm_mq_tls.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/kafka-tls.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/kafka.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/mariadb.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/mongodb-replica.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/mongodb-tls.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/mongodb.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/mosquitto.conf +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/mosquitto_performance.conf +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/mosquitto_persistence.conf +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/mq_init.mqsc +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/mq_init_tls.mqsc +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/mqtt.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/mqtt_performance.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/mysql.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/nats.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/object_store.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/postgres.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/postgres_cdc.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/docker-compose/redis.yml +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/file.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/grpc.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/grpc_tls.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/http.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/http_tls.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/ibm_mq.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/ibm_mq_tls.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/ipc.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/kafka.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/kafka_tls.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/logic_test.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/mariadb.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/memory.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/mod.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/mongodb.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/mongodb_raw.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/mongodb_tls.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/mqtt.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/mysql.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/nats.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/object_store.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/performance_static.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/postgres.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/postgres_cdc.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/redis_streams.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/route.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/scripts/gen_certs.sh +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/sqlite.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/tls_helpers.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/websocket.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration/zeromq.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/integration_test.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/memory_leak_test.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/otel_test.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/plugin_loading_latch_test.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/ref_test.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/reference_docs_test.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/sqlite_test.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/tls_example.rs +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/unit_tests.md +0 -0
- {mq_bridge_basic-1.2.1 → mq_bridge_basic-1.4.0}/tests/websocket_test.rs +0 -0
|
@@ -97,15 +97,15 @@ jobs:
|
|
|
97
97
|
# Regenerate package.json/lock from the Cargo workspace version (source of
|
|
98
98
|
# truth) BEFORE npm ci, so a drifted committed lock can't fail the build.
|
|
99
99
|
- name: Sync version from Cargo workspace
|
|
100
|
-
working-directory:
|
|
100
|
+
working-directory: bindings/node
|
|
101
101
|
run: npm run sync-version
|
|
102
102
|
|
|
103
103
|
- name: Install Node dependencies
|
|
104
|
-
working-directory:
|
|
104
|
+
working-directory: bindings/node
|
|
105
105
|
run: npm ci
|
|
106
106
|
|
|
107
107
|
- name: Build native addon (full)
|
|
108
|
-
working-directory:
|
|
108
|
+
working-directory: bindings/node
|
|
109
109
|
env:
|
|
110
110
|
CARGO_NET_RETRY: "5"
|
|
111
111
|
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
|
|
@@ -121,7 +121,7 @@ jobs:
|
|
|
121
121
|
uses: actions/upload-artifact@v7
|
|
122
122
|
with:
|
|
123
123
|
name: bindings-${{ matrix.target }}
|
|
124
|
-
path:
|
|
124
|
+
path: bindings/node/*.node
|
|
125
125
|
if-no-files-found: error
|
|
126
126
|
|
|
127
127
|
# The root package ships the generated loader; upload it once.
|
|
@@ -131,8 +131,8 @@ jobs:
|
|
|
131
131
|
with:
|
|
132
132
|
name: loader
|
|
133
133
|
path: |
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
bindings/node/native.js
|
|
135
|
+
bindings/node/native.d.ts
|
|
136
136
|
if-no-files-found: error
|
|
137
137
|
|
|
138
138
|
build-native:
|
|
@@ -160,7 +160,7 @@ jobs:
|
|
|
160
160
|
with:
|
|
161
161
|
node-version: "20"
|
|
162
162
|
cache: npm
|
|
163
|
-
cache-dependency-path:
|
|
163
|
+
cache-dependency-path: bindings/node/package-lock.json
|
|
164
164
|
|
|
165
165
|
- name: Install Rust toolchain
|
|
166
166
|
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
|
|
@@ -170,15 +170,15 @@ jobs:
|
|
|
170
170
|
# Regenerate package.json/lock from the Cargo workspace version (source of
|
|
171
171
|
# truth) BEFORE npm ci, so a drifted committed lock can't fail the build.
|
|
172
172
|
- name: Sync version from Cargo workspace
|
|
173
|
-
working-directory:
|
|
173
|
+
working-directory: bindings/node
|
|
174
174
|
run: npm run sync-version
|
|
175
175
|
|
|
176
176
|
- name: Install Node dependencies
|
|
177
|
-
working-directory:
|
|
177
|
+
working-directory: bindings/node
|
|
178
178
|
run: npm ci
|
|
179
179
|
|
|
180
180
|
- name: Build native addon (full)
|
|
181
|
-
working-directory:
|
|
181
|
+
working-directory: bindings/node
|
|
182
182
|
env:
|
|
183
183
|
CARGO_NET_RETRY: "5"
|
|
184
184
|
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
|
|
@@ -194,5 +194,5 @@ jobs:
|
|
|
194
194
|
uses: actions/upload-artifact@v7
|
|
195
195
|
with:
|
|
196
196
|
name: bindings-${{ matrix.target }}
|
|
197
|
-
path:
|
|
197
|
+
path: bindings/node/*.node
|
|
198
198
|
if-no-files-found: error
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
name: Nim
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
paths:
|
|
7
|
+
- ".github/workflows/nim.yml"
|
|
8
|
+
- "bindings/nim/**"
|
|
9
|
+
- "bindings/c/**"
|
|
10
|
+
- "Cargo.toml"
|
|
11
|
+
- "Cargo.lock"
|
|
12
|
+
- "src/**"
|
|
13
|
+
pull_request:
|
|
14
|
+
branches: [main, dev]
|
|
15
|
+
paths:
|
|
16
|
+
- ".github/workflows/nim.yml"
|
|
17
|
+
- "bindings/nim/**"
|
|
18
|
+
- "bindings/c/**"
|
|
19
|
+
- "Cargo.toml"
|
|
20
|
+
- "Cargo.lock"
|
|
21
|
+
- "src/**"
|
|
22
|
+
workflow_dispatch:
|
|
23
|
+
|
|
24
|
+
concurrency:
|
|
25
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
26
|
+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
27
|
+
|
|
28
|
+
permissions:
|
|
29
|
+
contents: read
|
|
30
|
+
|
|
31
|
+
env:
|
|
32
|
+
CARGO_TERM_COLOR: always
|
|
33
|
+
|
|
34
|
+
jobs:
|
|
35
|
+
test:
|
|
36
|
+
name: Nim binding tests
|
|
37
|
+
runs-on: ubuntu-latest
|
|
38
|
+
steps:
|
|
39
|
+
- uses: actions/checkout@v7
|
|
40
|
+
with:
|
|
41
|
+
persist-credentials: false
|
|
42
|
+
|
|
43
|
+
- name: Install Rust toolchain
|
|
44
|
+
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
|
|
45
|
+
|
|
46
|
+
- name: Cache cargo build
|
|
47
|
+
uses: Swatinem/rust-cache@v2
|
|
48
|
+
with:
|
|
49
|
+
cache-workspace-crates: true
|
|
50
|
+
|
|
51
|
+
- name: Build libmq_bridge
|
|
52
|
+
run: cargo build -p mq-bridge-c --no-default-features
|
|
53
|
+
|
|
54
|
+
- name: Install Nim
|
|
55
|
+
uses: jiro4989/setup-nim-action@v2
|
|
56
|
+
with:
|
|
57
|
+
nim-version: "2.2.x"
|
|
58
|
+
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
59
|
+
|
|
60
|
+
# tdrift fails when raw.nim and the C headers disagree.
|
|
61
|
+
- name: Run Nim tests
|
|
62
|
+
working-directory: bindings/nim
|
|
63
|
+
run: nimble test
|
|
64
|
+
|
|
65
|
+
- name: Type-check the examples
|
|
66
|
+
working-directory: bindings/nim/examples
|
|
67
|
+
run: for f in *.nim; do nim check --hints:off "$f"; done
|
|
68
|
+
|
|
69
|
+
- name: Run Nim tests under AddressSanitizer
|
|
70
|
+
working-directory: bindings/nim
|
|
71
|
+
run: |
|
|
72
|
+
for t in tests/t*.nim; do
|
|
73
|
+
nim c -r --hints:off -d:addressSanitizer "$t"
|
|
74
|
+
done
|
|
75
|
+
|
|
76
|
+
# TSan only sees synchronization in instrumented code, so the library and std need it too.
|
|
77
|
+
- name: Install nightly Rust for ThreadSanitizer
|
|
78
|
+
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8
|
|
79
|
+
with:
|
|
80
|
+
toolchain: nightly
|
|
81
|
+
components: rust-src
|
|
82
|
+
|
|
83
|
+
- name: Build libmq_bridge with ThreadSanitizer
|
|
84
|
+
run: cargo +nightly build -Zbuild-std --target x86_64-unknown-linux-gnu -p mq-bridge-c --no-default-features
|
|
85
|
+
env:
|
|
86
|
+
RUSTFLAGS: -Zsanitizer=thread
|
|
87
|
+
|
|
88
|
+
# ubuntu-latest's default mmap_rnd_bits breaks the TSan runtime.
|
|
89
|
+
- name: Run threaded Nim tests under ThreadSanitizer
|
|
90
|
+
working-directory: bindings/nim
|
|
91
|
+
env:
|
|
92
|
+
MQB_LIB: ${{ github.workspace }}/target/x86_64-unknown-linux-gnu/debug/libmq_bridge.so
|
|
93
|
+
run: |
|
|
94
|
+
sudo sysctl vm.mmap_rnd_bits=28
|
|
95
|
+
for t in tests/troute.nim tests/tplugin.nim; do
|
|
96
|
+
nim c -r --hints:off -d:threadSanitizer "$t"
|
|
97
|
+
done
|
|
@@ -5,7 +5,7 @@ on:
|
|
|
5
5
|
branches: [main, dev]
|
|
6
6
|
paths:
|
|
7
7
|
- ".github/workflows/node.yml"
|
|
8
|
-
- "
|
|
8
|
+
- "bindings/node/**"
|
|
9
9
|
- "Cargo.toml"
|
|
10
10
|
- "Cargo.lock"
|
|
11
11
|
- "src/**"
|
|
@@ -13,7 +13,7 @@ on:
|
|
|
13
13
|
branches: [main, dev]
|
|
14
14
|
paths:
|
|
15
15
|
- ".github/workflows/node.yml"
|
|
16
|
-
- "
|
|
16
|
+
- "bindings/node/**"
|
|
17
17
|
- "Cargo.toml"
|
|
18
18
|
- "Cargo.lock"
|
|
19
19
|
- "src/**"
|
|
@@ -45,10 +45,10 @@ jobs:
|
|
|
45
45
|
with:
|
|
46
46
|
node-version: "20"
|
|
47
47
|
cache: npm
|
|
48
|
-
cache-dependency-path:
|
|
48
|
+
cache-dependency-path: bindings/node/package-lock.json
|
|
49
49
|
|
|
50
50
|
- name: Verify lock is in sync
|
|
51
|
-
working-directory:
|
|
51
|
+
working-directory: bindings/node
|
|
52
52
|
run: npm ci --ignore-scripts
|
|
53
53
|
|
|
54
54
|
test:
|
|
@@ -70,7 +70,7 @@ jobs:
|
|
|
70
70
|
with:
|
|
71
71
|
node-version: "20"
|
|
72
72
|
cache: npm
|
|
73
|
-
cache-dependency-path:
|
|
73
|
+
cache-dependency-path: bindings/node/package-lock.json
|
|
74
74
|
|
|
75
75
|
- name: Cache cargo build
|
|
76
76
|
uses: Swatinem/rust-cache@v2
|
|
@@ -80,19 +80,19 @@ jobs:
|
|
|
80
80
|
cache-workspace-crates: true
|
|
81
81
|
|
|
82
82
|
- name: Install Node dependencies
|
|
83
|
-
working-directory:
|
|
83
|
+
working-directory: bindings/node
|
|
84
84
|
run: npm ci
|
|
85
85
|
|
|
86
86
|
- name: Check Rust binding
|
|
87
87
|
run: cargo check -p mq-bridge-node --no-default-features --features "http middleware schema"
|
|
88
88
|
|
|
89
89
|
- name: Build native addon
|
|
90
|
-
working-directory:
|
|
90
|
+
working-directory: bindings/node
|
|
91
91
|
run: npm run build:ci
|
|
92
92
|
|
|
93
93
|
# A leaked ThreadsafeFunction keeps the event loop alive and the suite
|
|
94
94
|
# never exits; cap it here rather than burning the whole job budget.
|
|
95
95
|
- name: Run Node tests
|
|
96
|
-
working-directory:
|
|
96
|
+
working-directory: bindings/node
|
|
97
97
|
timeout-minutes: 5
|
|
98
98
|
run: npm test
|
|
@@ -56,7 +56,7 @@ jobs:
|
|
|
56
56
|
node-version: "24"
|
|
57
57
|
registry-url: "https://registry.npmjs.org"
|
|
58
58
|
cache: npm
|
|
59
|
-
cache-dependency-path:
|
|
59
|
+
cache-dependency-path: bindings/node/package-lock.json
|
|
60
60
|
|
|
61
61
|
# Trusted publishing (OIDC) requires npm >= 11.5.1.
|
|
62
62
|
- name: Update npm
|
|
@@ -65,35 +65,35 @@ jobs:
|
|
|
65
65
|
# Regenerate package.json/lock from the Cargo workspace version (source of
|
|
66
66
|
# truth) BEFORE npm ci, so a drifted committed lock can't fail the publish.
|
|
67
67
|
- name: Sync version from Cargo workspace
|
|
68
|
-
working-directory:
|
|
68
|
+
working-directory: bindings/node
|
|
69
69
|
run: npm run sync-version
|
|
70
70
|
|
|
71
71
|
- name: Install Node dependencies
|
|
72
|
-
working-directory:
|
|
72
|
+
working-directory: bindings/node
|
|
73
73
|
run: npm ci
|
|
74
74
|
|
|
75
75
|
- name: Download loader into package root
|
|
76
76
|
uses: actions/download-artifact@v8
|
|
77
77
|
with:
|
|
78
78
|
name: loader
|
|
79
|
-
path:
|
|
79
|
+
path: bindings/node
|
|
80
80
|
|
|
81
81
|
- name: Download platform addons
|
|
82
82
|
uses: actions/download-artifact@v8
|
|
83
83
|
with:
|
|
84
84
|
pattern: bindings-*
|
|
85
|
-
path:
|
|
85
|
+
path: bindings/node/artifacts
|
|
86
86
|
|
|
87
87
|
- name: Create per-platform npm dirs
|
|
88
|
-
working-directory:
|
|
88
|
+
working-directory: bindings/node
|
|
89
89
|
run: npx napi create-npm-dirs
|
|
90
90
|
|
|
91
91
|
- name: Distribute addons into npm dirs
|
|
92
|
-
working-directory:
|
|
92
|
+
working-directory: bindings/node
|
|
93
93
|
run: npx napi artifacts -d artifacts
|
|
94
94
|
|
|
95
95
|
- name: List npm dirs
|
|
96
|
-
working-directory:
|
|
96
|
+
working-directory: bindings/node
|
|
97
97
|
run: ls -R npm
|
|
98
98
|
|
|
99
99
|
# The default per-platform README is ~88 bytes; paired with a 50-67MB
|
|
@@ -102,7 +102,7 @@ jobs:
|
|
|
102
102
|
# README plus description/homepage/keywords so it doesn't read as a
|
|
103
103
|
# placeholder. (Server-side heuristic; reduces but cannot guarantee a pass.)
|
|
104
104
|
- name: Enrich platform package metadata
|
|
105
|
-
working-directory:
|
|
105
|
+
working-directory: bindings/node
|
|
106
106
|
run: |
|
|
107
107
|
set -e
|
|
108
108
|
for dir in npm/*/; do
|
|
@@ -120,7 +120,7 @@ jobs:
|
|
|
120
120
|
done
|
|
121
121
|
|
|
122
122
|
- name: Publish platform packages and root
|
|
123
|
-
working-directory:
|
|
123
|
+
working-directory: bindings/node
|
|
124
124
|
env:
|
|
125
125
|
# No NODE_AUTH_TOKEN: publishing is OIDC-only (trusted publishing).
|
|
126
126
|
NPM_CONFIG_PROVENANCE: "true"
|
|
@@ -170,7 +170,7 @@ jobs:
|
|
|
170
170
|
|
|
171
171
|
- name: Select package metadata
|
|
172
172
|
if: matrix.pyproject != 'pyproject.toml'
|
|
173
|
-
working-directory: python
|
|
173
|
+
working-directory: bindings/python
|
|
174
174
|
shell: bash
|
|
175
175
|
run: cp "${{ matrix.pyproject }}" pyproject.toml
|
|
176
176
|
|
|
@@ -191,7 +191,7 @@ jobs:
|
|
|
191
191
|
CARGO_NET_RETRY: "5"
|
|
192
192
|
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
|
|
193
193
|
with:
|
|
194
|
-
working-directory: python
|
|
194
|
+
working-directory: bindings/python
|
|
195
195
|
command: build
|
|
196
196
|
target: ${{ matrix.target }}
|
|
197
197
|
args: ${{ matrix.args }}
|
|
@@ -214,7 +214,7 @@ jobs:
|
|
|
214
214
|
uses: actions/upload-artifact@v7
|
|
215
215
|
with:
|
|
216
216
|
name: wheels-${{ matrix.package }}-${{ matrix.os }}-${{ matrix.target }}-${{ matrix.manylinux || 'auto' }}
|
|
217
|
-
path: python/
|
|
217
|
+
path: bindings/python/dist
|
|
218
218
|
|
|
219
219
|
build-sdists:
|
|
220
220
|
name: Build ${{ matrix.package }} sdist
|
|
@@ -234,7 +234,7 @@ jobs:
|
|
|
234
234
|
|
|
235
235
|
- name: Select package metadata
|
|
236
236
|
if: matrix.pyproject != 'pyproject.toml'
|
|
237
|
-
working-directory: python
|
|
237
|
+
working-directory: bindings/python
|
|
238
238
|
run: cp "${{ matrix.pyproject }}" pyproject.toml
|
|
239
239
|
|
|
240
240
|
- name: Set up Python
|
|
@@ -248,7 +248,7 @@ jobs:
|
|
|
248
248
|
- name: Build sdist
|
|
249
249
|
uses: PyO3/maturin-action@v1
|
|
250
250
|
with:
|
|
251
|
-
working-directory: python
|
|
251
|
+
working-directory: bindings/python
|
|
252
252
|
command: sdist
|
|
253
253
|
args: --out dist
|
|
254
254
|
|
|
@@ -256,7 +256,7 @@ jobs:
|
|
|
256
256
|
uses: actions/upload-artifact@v7
|
|
257
257
|
with:
|
|
258
258
|
name: sdist-${{ matrix.package }}
|
|
259
|
-
path: python/
|
|
259
|
+
path: bindings/python/dist
|
|
260
260
|
|
|
261
261
|
publish:
|
|
262
262
|
name: Publish to ${{ inputs.target == 'pypi' && 'PyPI' || 'TestPyPI' }}
|
|
@@ -5,7 +5,7 @@ on:
|
|
|
5
5
|
branches: [main]
|
|
6
6
|
paths:
|
|
7
7
|
- ".github/workflows/python.yml"
|
|
8
|
-
- "python
|
|
8
|
+
- "bindings/python/**"
|
|
9
9
|
- "Cargo.toml"
|
|
10
10
|
- "Cargo.lock"
|
|
11
11
|
- "src/**"
|
|
@@ -13,7 +13,7 @@ on:
|
|
|
13
13
|
branches: [main, dev]
|
|
14
14
|
paths:
|
|
15
15
|
- ".github/workflows/python.yml"
|
|
16
|
-
- "python
|
|
16
|
+
- "bindings/python/**"
|
|
17
17
|
- "Cargo.toml"
|
|
18
18
|
- "Cargo.lock"
|
|
19
19
|
- "src/**"
|
|
@@ -57,15 +57,15 @@ jobs:
|
|
|
57
57
|
cache-workspace-crates: true
|
|
58
58
|
|
|
59
59
|
- name: Sync Python dev environment
|
|
60
|
-
working-directory: python
|
|
60
|
+
working-directory: bindings/python
|
|
61
61
|
run: uv sync --group dev --no-install-project
|
|
62
62
|
|
|
63
63
|
- name: Build extension into the uv environment
|
|
64
|
-
working-directory: python
|
|
64
|
+
working-directory: bindings/python
|
|
65
65
|
run: uv run maturin develop
|
|
66
66
|
|
|
67
67
|
- name: Run Python tests
|
|
68
|
-
working-directory: python
|
|
68
|
+
working-directory: bindings/python
|
|
69
69
|
run: uv run pytest -q
|
|
70
70
|
|
|
71
71
|
- name: Run no-default feature regression tests
|
|
@@ -74,9 +74,9 @@ jobs:
|
|
|
74
74
|
cargo test -p mq-bridge-py --no-default-features --features http,rustls-ring test_module_init_installs_rustls_provider
|
|
75
75
|
|
|
76
76
|
- name: Rebuild extension with lean no-default feature set
|
|
77
|
-
working-directory: python
|
|
77
|
+
working-directory: bindings/python
|
|
78
78
|
run: uv run maturin develop --no-default-features -F http -F rustls-ring -F pyo3/extension-module
|
|
79
79
|
|
|
80
80
|
- name: Run lean no-default public API tests
|
|
81
|
-
working-directory: python
|
|
81
|
+
working-directory: bindings/python
|
|
82
82
|
run: uv run pytest -q tests/test_public_api.py tests/test_config_types.py
|
|
@@ -136,7 +136,7 @@ jobs:
|
|
|
136
136
|
# newly added platform target cannot slip past this check.
|
|
137
137
|
mapfile -t packages < <(python3 -c '
|
|
138
138
|
import json
|
|
139
|
-
d = json.load(open("
|
|
139
|
+
d = json.load(open("bindings/node/package.json"))
|
|
140
140
|
print(d["name"])
|
|
141
141
|
for name in d.get("optionalDependencies", {}):
|
|
142
142
|
print(name)
|
|
@@ -568,6 +568,9 @@ jobs:
|
|
|
568
568
|
# Same runners as the CLI assets, so both share one glibc floor.
|
|
569
569
|
- os: ubuntu-22.04
|
|
570
570
|
target: x86_64-unknown-linux-gnu
|
|
571
|
+
# Native arm64 runner, like the Node binding: `full` pulls C sources that don't cross-compile.
|
|
572
|
+
- os: ubuntu-22.04-arm
|
|
573
|
+
target: aarch64-unknown-linux-gnu
|
|
571
574
|
- os: macos-latest
|
|
572
575
|
target: aarch64-apple-darwin
|
|
573
576
|
- os: windows-2022
|
|
@@ -621,10 +624,10 @@ jobs:
|
|
|
621
624
|
;;
|
|
622
625
|
*) cp "$OUT/libmq_bridge.so" staging/lib/ ;;
|
|
623
626
|
esac
|
|
624
|
-
cp include/*.h staging/include/
|
|
627
|
+
cp bindings/c/include/*.h staging/include/
|
|
625
628
|
cp LICENSE-MIT LICENSE-APACHE staging/
|
|
626
|
-
cp
|
|
627
|
-
cp
|
|
629
|
+
cp bindings/c/README.md staging/README.md
|
|
630
|
+
cp bindings/c/THIRD_PARTY_LICENSES.txt staging/
|
|
628
631
|
if [ "$RUNNER_OS" == "Windows" ]; then
|
|
629
632
|
7z a "${ASSET_NAME}.zip" ./staging/*
|
|
630
633
|
echo "ASSET_PATH=${ASSET_NAME}.zip" >> "$GITHUB_ENV"
|
|
@@ -376,7 +376,7 @@ check-native-deps:
|
|
|
376
376
|
# This one bites even when $CONDA_PREFIX is a perfectly good env, so
|
|
377
377
|
# pointing $PYO3_PYTHON somewhere valid does not rescue it.
|
|
378
378
|
#
|
|
379
|
-
# uv owns the interpreter for this project (python
|
|
379
|
+
# uv owns the interpreter for this project (bindings/python/.venv), so
|
|
380
380
|
# $CONDA_PREFIX has no say here and dropping it is the fix for both.
|
|
381
381
|
|
|
382
382
|
[doc('Sync the dev environment and build the extension into it')]
|
|
@@ -384,7 +384,7 @@ check-native-deps:
|
|
|
384
384
|
py-dev: _require-python
|
|
385
385
|
#!/usr/bin/env bash
|
|
386
386
|
set -euo pipefail
|
|
387
|
-
cd python
|
|
387
|
+
cd bindings/python
|
|
388
388
|
unset CONDA_PREFIX
|
|
389
389
|
uv sync --group dev --no-install-project
|
|
390
390
|
uv run maturin develop
|
|
@@ -394,7 +394,7 @@ py-dev: _require-python
|
|
|
394
394
|
py-test:
|
|
395
395
|
#!/usr/bin/env bash
|
|
396
396
|
set -euo pipefail
|
|
397
|
-
cd python
|
|
397
|
+
cd bindings/python
|
|
398
398
|
unset CONDA_PREFIX
|
|
399
399
|
uv run pytest -q
|
|
400
400
|
|
|
@@ -409,7 +409,7 @@ py-test-lean: _require-python
|
|
|
409
409
|
unset CONDA_PREFIX
|
|
410
410
|
cargo test -p mq-bridge-py --no-default-features --features http,rustls-ring test_config_schema_is_always_available
|
|
411
411
|
cargo test -p mq-bridge-py --no-default-features --features http,rustls-ring test_module_init_installs_rustls_provider
|
|
412
|
-
cd python
|
|
412
|
+
cd bindings/python
|
|
413
413
|
uv run maturin develop --no-default-features -F http -F rustls-ring -F pyo3/extension-module
|
|
414
414
|
uv run pytest -q tests/test_public_api.py tests/test_config_types.py
|
|
415
415
|
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
2. **Endpoint**: A source (consumer) or sink (publisher) for messages - supports Kafka, NATS, AMQP, MQTT, MongoDB, ZeroMQ, HTTP, Files, and in-memory channels
|
|
23
23
|
3. **Top-Level API**: A set of functions in the `mq_bridge` root for managing routes and publishers (e.g., `get_route`, `stop_route`, `get_publisher`).
|
|
24
24
|
4. **Middleware**: Components that intercept and process messages (retries, DLQ, deduplication, metrics)
|
|
25
|
-
5. **Handler**: Programmatic components for business logic (CommandHandler for 1-to-1 transformations, EventHandler for terminal consumption)
|
|
25
|
+
5. **Handler**: Programmatic components for business logic (CommandHandler for 1-to-1 transformations, EventHandler for terminal consumption, ThreadedHandler for blocking `&mut` handlers such as local inference: emit many per input, cancel by correlation id)
|
|
26
26
|
6. **CanonicalMessage**: The unified message format used throughout the system
|
|
27
27
|
7. **Request-Reply**: Native support for synchronous request-reply pattern on NATS, MongoDB, and Memory endpoints
|
|
28
28
|
|
|
@@ -114,6 +114,7 @@ src/
|
|
|
114
114
|
│ └── plugin_abi.rs # C ABI shared by host and native plugins
|
|
115
115
|
├── command_handler.rs # Command handler wrapper
|
|
116
116
|
├── event_handler.rs # Event handler wrapper
|
|
117
|
+
├── blocking_handler.rs # ThreadedHandler: blocking `&mut` handler on its own thread, emit, cancel by correlation id
|
|
117
118
|
├── event_store.rs # In-memory event store
|
|
118
119
|
├── type_handler.rs # Typed message handlers
|
|
119
120
|
├── publisher.rs # Standalone publisher API
|
|
@@ -2,6 +2,152 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `mq-bridge`. Newest first.
|
|
4
4
|
|
|
5
|
+
## 1.4.0
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- **Nim binding (`bindings/nim`, nimble package `mq_bridge`).** Publishers, consumers,
|
|
10
|
+
routes with single, batch and per-kind handlers, and custom endpoints and middleware
|
|
11
|
+
written in Nim, over the C library. Handlers run on the thread that starts the route,
|
|
12
|
+
or on a thread of their own with `start(worker = true)`. See
|
|
13
|
+
[bindings/nim/README.md](bindings/nim/README.md).
|
|
14
|
+
- **`tls.ca_file: "$.os"` and `"$.bundled"` pick the trusted CAs.** `$.os` is the
|
|
15
|
+
operating system's CA store, `$.bundled` the Mozilla roots built into mq-bridge. Without
|
|
16
|
+
`ca_file` every endpoint keeps its default. Where a driver cannot take a value (`$.os` on
|
|
17
|
+
`mongodb`, `sqlx`, `postgres_cdc` and on Android; `$.bundled` on `kafka` and `amqp`) the
|
|
18
|
+
endpoint fails to start and says so. The table per endpoint is in
|
|
19
|
+
[CONFIGURATION.md](docs/CONFIGURATION.md#tls--security-hardening).
|
|
20
|
+
- **Feature `sqlite`: the `sqlx` endpoint with only the SQLite driver.** `sqlx` still
|
|
21
|
+
brings PostgreSQL, MySQL/MariaDB and SQLite. Without the PostgreSQL driver, `bulk_copy`
|
|
22
|
+
is unavailable.
|
|
23
|
+
- **Python: `Route.with_batch_handler` gets the whole batch.** `handler(messages)` returns one
|
|
24
|
+
result per message, in order, so a batch can share one database transaction. Node has it as
|
|
25
|
+
`Route.withBatchHandler`, C as `mqb_route_set_batch_handler`, where the handler fills an
|
|
26
|
+
`out` array and returns one status for the batch. It sets
|
|
27
|
+
`prefers_batches`, so on an `http` → `response` route the requests that arrive while a
|
|
28
|
+
batch runs form the next batch. An exception or a result list of the wrong length fails
|
|
29
|
+
every message in the batch. In `scripts/twelve-dollar` a create took 46 instead of 102 µs
|
|
30
|
+
of CPU with one SQLite transaction per batch.
|
|
31
|
+
- **`forward_headers` on an `http` input limits which request headers become metadata.**
|
|
32
|
+
Names match case-insensitively; method, path, query and version are always set, and a
|
|
33
|
+
listed credential header still goes to `mqb.src.http_<name>`. Unset keeps every header.
|
|
34
|
+
Each header left out saves two allocations per request (43 → 35 with only `host` kept).
|
|
35
|
+
Builder: `HttpConfig::with_forward_headers`.
|
|
36
|
+
- **`openai_chat` streams with `stream_to`.** Each text delta goes to that endpoint as it
|
|
37
|
+
arrives, with `correlation_id`, `mqb.stream.attempt`, `mqb.stream.index` and `mqb.stream.end` metadata; the
|
|
38
|
+
last one carries `mqb.stream.status` (`complete`, `cancelled`, `error`). The whole answer is
|
|
39
|
+
still the response, so the input is committed after it and a retry starts a new attempt.
|
|
40
|
+
`cancel_from` stops a running request by `correlation_id` and answers with the text so
|
|
41
|
+
far; a cancel that arrives before its request starts is kept for 30 s. Every attempt
|
|
42
|
+
ends with a last token message, also one that fails before the stream starts, unless a
|
|
43
|
+
send to `stream_to` failed: then that attempt sends no further tokens.
|
|
44
|
+
`messages_from_payload: true` sends the payload as the `messages` array, e.g. a
|
|
45
|
+
whole conversation; a payload that is not exactly one JSON array is refused, so it
|
|
46
|
+
cannot add fields such as `model` to the request. The new template filter
|
|
47
|
+
`| json_array` does that check. Code that builds `OpenAiChatConfig` without
|
|
48
|
+
`..Default::default()` needs the three new fields.
|
|
49
|
+
- **`http_bulk` `query` streams with `stream_to`.** With `per_message: true` each answer is
|
|
50
|
+
read as server-sent events; `value`, `error` and `stop_reason` apply to each event, and
|
|
51
|
+
`stream_done` names the data that ends the stream (e.g. `[DONE]`). Token metadata and
|
|
52
|
+
`cancel_from` work as for `openai_chat`, which is now this query with the fields filled
|
|
53
|
+
in, so Anthropic's `/v1/messages` streams as a recipe. A response that is not
|
|
54
|
+
`text/event-stream`, or an error event before the first text, fails for good;
|
|
55
|
+
keepalives and events that are not JSON are skipped. `HttpBulkPublisher::new` refuses
|
|
56
|
+
`query.stream_to`; build it through the endpoint factory. Code that builds
|
|
57
|
+
`HttpBulkQuery` without `..Default::default()` needs the three new fields.
|
|
58
|
+
- **`unregister_endpoint(name)` removes an endpoint added with `register_endpoint`,** so
|
|
59
|
+
`ref: "name"` stops resolving.
|
|
60
|
+
- **App: every publisher is a named endpoint.** `ref: "<publisher name>"` resolves to it;
|
|
61
|
+
a renamed or deleted publisher stops resolving on save.
|
|
62
|
+
- **C library archive for Linux arm64.** `mq-bridge-c-aarch64-unknown-linux-gnu` is built
|
|
63
|
+
on a native arm64 runner with the same glibc floor (2.35) as the x86_64 archive.
|
|
64
|
+
- **Feature `portable` includes `zeromq-omq`.** ZeroMQ endpoints in a `portable` build now
|
|
65
|
+
use the faster `omq` backend by default (`backend: try_omq`); `zmq` stays available.
|
|
66
|
+
- **`load_installed_plugin(name)` loads one installed plugin and nothing else.** It opens
|
|
67
|
+
`libmq_bridge_<name>` from the plugin search path (Homebrew, conda, `MQB_PLUGIN_DIR`, …) and
|
|
68
|
+
registers what it exports. In Python `mq_bridge.load_installed_plugin`, in Node and Nim
|
|
69
|
+
`loadInstalledPlugin`, in C `mqb_load_installed_plugin`. It works with discovery off.
|
|
70
|
+
- **Nim example `connect_access_log.nim`**: a Redpanda Connect `generate` input with a Nim
|
|
71
|
+
handler. The examples README now says how to build the library and run each example.
|
|
72
|
+
|
|
73
|
+
### Fixed
|
|
74
|
+
|
|
75
|
+
- **The library no longer loads installed plugins on its own.** A program embedding
|
|
76
|
+
mq-bridge (Rust, Python, Node, C, Nim) used to load any `libmq_bridge_<name>` it found
|
|
77
|
+
for an unknown endpoint name. Discovery is now off until the host calls
|
|
78
|
+
`enable_plugin_discovery()` (`enablePluginDiscovery()` in Node and Nim,
|
|
79
|
+
`mqb_enable_plugin_discovery()` in C) or sets `MQB_PLUGIN_DISCOVERY=1`; `=0` still turns it
|
|
80
|
+
off everywhere. `mqb` and the desktop app turn it on at startup, so they behave as before.
|
|
81
|
+
A route naming an endpoint that no factory provides now says how to load its plugin.
|
|
82
|
+
- **A handler's new message lost its source position.** An `object_store` sink with the
|
|
83
|
+
default `name_by` then rejected every record of a handler route reading a file, Kafka,
|
|
84
|
+
CDC or SQL cursor. The response now keeps the record's `mqb.src.*` metadata, unless the
|
|
85
|
+
handler set its own.
|
|
86
|
+
- **The C library could not open any TLS or HTTP endpoint** ("Failed to create rustls
|
|
87
|
+
client config"): it installed no crypto provider. It now installs the one it is built with.
|
|
88
|
+
- **`http_bulk` (incl. `openai_chat`) and `clickhouse` could not connect over HTTPS on
|
|
89
|
+
Android.** They checked certificates with the OS verifier of reqwest, which panics on
|
|
90
|
+
Android unless the app initialised it through JNI, and refused `tls.ca_file` there.
|
|
91
|
+
On Android they now use the bundled roots, or `tls.ca_file`. Affected since 0.3.4
|
|
92
|
+
(`clickhouse`) and 0.4.18 (`http_bulk`); other platforms are unchanged.
|
|
93
|
+
- **`config_schema::flatten` keeps a recursive definition as a `$ref`.** It inlined one again
|
|
94
|
+
on every path into the cycle, so an endpoint schema with an `Endpoint` field (`openai_chat`
|
|
95
|
+
`stream_to`) grew the app's `/schema.json` to 5.6 MB and the UI took seconds to start.
|
|
96
|
+
- **A `stream_to` reader gets a last token when a streaming request panics.** It is sent
|
|
97
|
+
with `mqb.stream.status: error` (if `stream_to` still accepts sends) and the message fails
|
|
98
|
+
for good; before, the reader waited forever.
|
|
99
|
+
- **App: the publisher and consumer forms load in a fraction of the time.** An endpoint
|
|
100
|
+
nested in another one (fanout, switch, request, lookup, dlq, ...) is a `ref` field in the
|
|
101
|
+
form; before, each was expanded into a full endpoint form, which took seconds. Inline nested
|
|
102
|
+
endpoints still work in the YAML/JSON editor.
|
|
103
|
+
|
|
104
|
+
### Performance
|
|
105
|
+
|
|
106
|
+
- **An `http` input that runs through the route pipeline allocates less per request.** The
|
|
107
|
+
reply goes back over the request's channel directly instead of through a boxed closure: 78
|
|
108
|
+
instead of 81 allocations and ~2% less CPU per request. An `http` → `response` route takes
|
|
109
|
+
the inline path and is unchanged.
|
|
110
|
+
- **The routed `http` input sizes each batch to the requests waiting, not to `batch_size`.**
|
|
111
|
+
It used to reserve room for a full batch on every receive (~80 KB at `batch_size` 512, even
|
|
112
|
+
for one request). CPU per request is unchanged with mimalloc and with the macOS system
|
|
113
|
+
allocator.
|
|
114
|
+
|
|
115
|
+
## 1.3.0
|
|
116
|
+
|
|
117
|
+
### Added
|
|
118
|
+
|
|
119
|
+
- **`ThreadedHandler` runs a blocking handler with `&mut` state on its own thread.**
|
|
120
|
+
Implement `BlockingHandler` (or pass a closure); no `Mutex`, no `spawn_blocking`. The
|
|
121
|
+
`HandlerContext` can `emit` any number of messages per input and reports
|
|
122
|
+
`is_cancelled()` once a `CancelHandle` cancels the message's `correlation_id`; queued
|
|
123
|
+
messages with a cancelled id are acked without running. See `mq_bridge::blocking_handler`.
|
|
124
|
+
- **`Handler::prefers_batches` lets an HTTP handler batch.** An `http` → `response` route
|
|
125
|
+
answers requests inline, so `handle_many` only ever got one message. A handler returning
|
|
126
|
+
`true` now gets the requests that arrive while a batch is in flight as its next batch,
|
|
127
|
+
still on the inline path; a `websocket` input in `auto` mode runs routed for it. One
|
|
128
|
+
SQLite transaction per batch halved CPU per request in `scripts/twelve-dollar`.
|
|
129
|
+
- **`buffer` works on an `http` input.** Its read can be cancelled safely, so a `buffer`
|
|
130
|
+
with `max_delay_ms` above 0 now collects requests there instead of refusing to start.
|
|
131
|
+
- **`UriSchema::uri_template` is now documented.** It returns the URI shape a plugin's schema
|
|
132
|
+
reads, such as `rp://<url>/<topic>?<param>=<value>`; it shipped hidden in 1.2.1.
|
|
133
|
+
|
|
134
|
+
### Performance
|
|
135
|
+
|
|
136
|
+
- **Smaller binaries.** `Endpoint::clone` was inlined into every codegen unit; a lean
|
|
137
|
+
build (`default-features = false`) shrinks by ~450 KB (5.7 → 5.3 MB stripped).
|
|
138
|
+
`futures` no longer pulls in `futures-executor`, which was unused.
|
|
139
|
+
|
|
140
|
+
- **`lookup` with `into: $` passes the answer on unparsed.** A valid JSON answer becomes the
|
|
141
|
+
payload as `from` sent it, after a check that allocates nothing; it used to be parsed and
|
|
142
|
+
written again. The JSON is the same, but whitespace and escapes now stay as `from` wrote
|
|
143
|
+
them. A 4 KB SQLite feed reply costs ~6 µs less (80 → 74 µs per request).
|
|
144
|
+
|
|
145
|
+
- **sqlx and ClickHouse parse only the payload fields they read.** Sinks and lookups used to
|
|
146
|
+
parse every payload in full, even when every value came from metadata; now they skip the
|
|
147
|
+
parse in that case and otherwise build only the fields their tokens name. http_bulk does the
|
|
148
|
+
same for delete ids and stream cursors (`read.cursor.item`). Malformed text in a field that
|
|
149
|
+
is not read no longer turns the row's payload values into NULL.
|
|
150
|
+
|
|
5
151
|
## 1.2.1
|
|
6
152
|
|
|
7
153
|
### Changed
|