Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12488 from kjellwinblad/kjell/refactor/rocketmq_b…
…ridge/EMQX-11467 feat: refactor RocketMQ bridge to connector and action
- Loading branch information
Showing
10 changed files
with
309 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{application, emqx_bridge_rocketmq, [ | ||
{description, "EMQX Enterprise RocketMQ Bridge"}, | ||
{vsn, "0.1.4"}, | ||
{vsn, "0.1.5"}, | ||
{registered, []}, | ||
{applications, [kernel, stdlib, emqx_resource, rocketmq]}, | ||
{env, []}, | ||
{env, [{emqx_action_info_modules, [emqx_bridge_rocketmq_action_info]}]}, | ||
{modules, []}, | ||
{links, []} | ||
]}. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
apps/emqx_bridge_rocketmq/src/emqx_bridge_rocketmq_action_info.erl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
%%-------------------------------------------------------------------- | ||
%% Copyright (c) 2022-2024 EMQ Technologies Co., Ltd. All Rights Reserved. | ||
%%-------------------------------------------------------------------- | ||
|
||
-module(emqx_bridge_rocketmq_action_info). | ||
|
||
-behaviour(emqx_action_info). | ||
|
||
-export([ | ||
bridge_v1_type_name/0, | ||
action_type_name/0, | ||
connector_type_name/0, | ||
schema_module/0 | ||
]). | ||
|
||
bridge_v1_type_name() -> rocketmq. | ||
|
||
action_type_name() -> rocketmq. | ||
|
||
connector_type_name() -> rocketmq. | ||
|
||
schema_module() -> emqx_bridge_rocketmq. |
Oops, something went wrong.