emqx/apps/emqx_bridge_pulsar
Thales Macedo Garitezi 32e6213ce3 fix(resource_manager_sup): use one_for_one instead of simple_one_for_one
Using `simple_one_for_one` has a potential race condition issue where
we read the PID of the resource manager before trying to remove a
resource, and then that PID changes because it was either dead at
first, or it crashed and changed, and later we use this stale PID to
try to remove it from the supervisor.  Under such circumstances, the
restarting child might linger in the supervisor, leaking resources.

By using the resource ID itself as a child ID (and using `one_for_one`
restart strategy), we ensure the child is truly removed.
2023-05-25 18:07:43 -03:00
..
etc feat: implement Pulsar Producer bridge (e5.0) 2023-04-24 10:28:26 -03:00
include feat: implement Pulsar Producer bridge (e5.0) 2023-04-24 10:28:26 -03:00
src refactor(pulsar): use macros for allocatable resources 2023-05-25 16:38:09 -03:00
test fix(resource_manager_sup): use one_for_one instead of simple_one_for_one 2023-05-25 18:07:43 -03:00
.gitignore feat: implement Pulsar Producer bridge (e5.0) 2023-04-24 10:28:26 -03:00
BSL.txt feat: implement Pulsar Producer bridge (e5.0) 2023-04-24 10:28:26 -03:00
docker-ct feat: implement Pulsar Producer bridge (e5.0) 2023-04-24 10:28:26 -03:00
README.md docs: hide the not-ready document links 2023-05-15 11:20:23 +08:00
rebar.config feat(pulsar): improve authn error check time and add connect timeout 2023-05-22 11:33:16 -03:00

Pulsar Data Integration Bridge

This application houses the Pulsar Producer data integration bridge for EMQX Enterprise Edition. It provides the means to connect to Pulsar and publish messages to it.

Currently, our Pulsar Producer library has its own replayq buffering implementation, so this bridge does not require buffer workers from emqx_resource. It implements the connection management and interaction without need for a separate connector app, since it's not used by authentication and authorization applications.

Documentation links

For more information on Apache Pulsar, please see its official site.

Contributing

Please see our contributing.md.

License

EMQ Business Source License 1.1, refer to LICENSE.