Merge pull request #10258 from thalesmg/fix-kafka-producer-buffer-support-rv50

fix(kafka_producer): add back `is_buffer_supported` callback
This commit is contained in:
Zaiming (Stone) Shi 2023-03-28 16:05:16 +02:00 committed by GitHub
commit 96dc653914
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{application, emqx_ee_bridge, [
{description, "EMQX Enterprise data bridges"},
{vsn, "0.1.7"},
{vsn, "0.1.8"},
{registered, [emqx_ee_bridge_kafka_consumer_sup]},
{applications, [
kernel,

View File

@ -7,6 +7,7 @@
%% callbacks of behaviour emqx_resource
-export([
is_buffer_supported/0,
callback_mode/0,
on_start/2,
on_stop/2,
@ -26,6 +27,8 @@
%% to hocon; keeping this as just `kafka' for backwards compatibility.
-define(BRIDGE_TYPE, kafka).
is_buffer_supported() -> true.
callback_mode() -> async_if_possible.
%% @doc Config schema is defined in emqx_ee_bridge_kafka.