-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: convert gcp_pubsub_consumer
to connector/source
#12486
feat: convert gcp_pubsub_consumer
to connector/source
#12486
Conversation
apps/emqx_bridge_gcp_pubsub/src/emqx_bridge_gcp_pubsub_consumer_schema.erl
Show resolved
Hide resolved
apps/emqx_bridge_gcp_pubsub/src/emqx_bridge_gcp_pubsub_consumer_schema.erl
Outdated
Show resolved
Hide resolved
apps/emqx_bridge_gcp_pubsub/src/emqx_bridge_gcp_pubsub_impl_consumer.erl
Outdated
Show resolved
Hide resolved
664f898
to
55732a6
Compare
|
Fixed here: #12595 |
|
7c782d5
to
b76dfc1
Compare
b76dfc1
to
b7ddf0b
Compare
b7ddf0b
to
146d89b
Compare
Co-authored-by: Zaiming (Stone) Shi <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
%% The new schema has a single pubsub topic, so we take it from topic mapping when | ||
%% converting from v1. | ||
maybe_set_pubsub_topic(#{<<"topic_mapping">> := [#{<<"pubsub_topic">> := Topic} | _]} = Params) -> | ||
Params#{<<"topic">> => Topic}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Do we need some warning logs for our users?
And, we also need to add this breaking change log.
Fixes https://emqx.atlassian.net/browse/EMQX-11471
Release version: v/e5.6
Summary
PR Checklist
Please convert it to a draft if any of the following conditions are not met. Reviewers may skip over until all the items are checked:
changes/(ce|ee)/(feat|perf|fix|breaking)-<PR-id>.en.md
filesChecklist for CI (.github/workflows) changes
changes/
dir for user-facing artifacts update