Skip to content

Commit

Permalink
Revert sys.config for benchmark testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Silviu Caragea committed Mar 28, 2019
1 parent 8b0a847 commit df8cc71
Showing 1 changed file with 34 additions and 3 deletions.
37 changes: 34 additions & 3 deletions test/sys.config
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,40 @@
]},

{erlkaf, [
{global_client_options, [
{bootstrap_servers, <<"172.17.3.163:9092,172.17.3.164:9092,172.17.3.165:9092">>},
{socket_keepalive_enable, true}
{clients, [
{client_producer,[

{type, producer},

{topics, [
{<<"benchmark">>, [{request_required_acks, 0}]}
]},

{client_options, [
{bootstrap_servers, "172.17.3.163:9092,172.17.3.164:9092,172.17.3.165:9092"},
{delivery_report_only_error, true},
{delivery_report_callback, benchmark_producer},
{queue_buffering_max_messages, 1000000}
]}
]},

{client_consumer,[

{type, consumer},

{group_id, <<"erlkaf_consumer">>},
{callback_module, test_consumer},
{callback_args, []},
{topics, [<<"benchmark">>]},
{topic_options, [
{auto_offset_reset, smallest},
{dispatch_mode, one_by_one}
]},

{client_options, [
{bootstrap_servers, "172.17.3.163:9092"}
]}
]}
]}
]}
].

0 comments on commit df8cc71

Please sign in to comment.