fix(pulsar_producer): use `simple_async_internal_buffer` query mode for Pulsar
Since it has internal buffering, it necessitates the same fix as Kafka producer.
This commit is contained in:
parent
eebfb44f72
commit
902b1d6ec5
|
@ -1,6 +1,6 @@
|
||||||
{application, emqx_bridge_pulsar, [
|
{application, emqx_bridge_pulsar, [
|
||||||
{description, "EMQX Pulsar Bridge"},
|
{description, "EMQX Pulsar Bridge"},
|
||||||
{vsn, "0.1.6"},
|
{vsn, "0.1.7"},
|
||||||
{registered, []},
|
{registered, []},
|
||||||
{applications, [
|
{applications, [
|
||||||
kernel,
|
kernel,
|
||||||
|
|
|
@ -73,7 +73,7 @@
|
||||||
callback_mode() -> async_if_possible.
|
callback_mode() -> async_if_possible.
|
||||||
|
|
||||||
query_mode(_Config) ->
|
query_mode(_Config) ->
|
||||||
simple_async.
|
simple_async_internal_buffer.
|
||||||
|
|
||||||
-spec on_start(resource_id(), config()) -> {ok, state()}.
|
-spec on_start(resource_id(), config()) -> {ok, state()}.
|
||||||
on_start(InstanceId, Config) ->
|
on_start(InstanceId, Config) ->
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
simple_sync
|
simple_sync
|
||||||
| simple_async
|
| simple_async
|
||||||
| simple_sync_internal_buffer
|
| simple_sync_internal_buffer
|
||||||
|
| simple_async_internal_buffer
|
||||||
| sync
|
| sync
|
||||||
| async
|
| async
|
||||||
| no_queries.
|
| no_queries.
|
||||||
|
|
Loading…
Reference in New Issue