rabbitmq-server/deps/rabbitmq_shovel/include/rabbit_shovel.hrl

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
975 B
Erlang
Raw Permalink Normal View History

2020-07-15 02:39:08 +08:00
%% This Source Code Form is subject to the terms of the Mozilla Public
%% License, v. 2.0. If a copy of the MPL was not distributed with this
%% file, You can obtain one at https://mozilla.org/MPL/2.0/.
%%
2024-01-23 12:44:47 +08:00
%% Copyright (c) 2007-2025 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. All rights reserved.
%%
-define(SHOVEL_APP, rabbitmq_shovel).
-record(endpoint,
2013-11-29 21:53:37 +08:00
{uris,
resource_declaration
}).
-record(shovel,
{sources,
destinations,
2010-02-26 02:19:11 +08:00
prefetch_count,
ack_mode,
publish_fields,
publish_properties,
queue,
2014-03-01 00:58:32 +08:00
reconnect_delay,
delete_after = never
}).
-define(SHOVEL_USER, <<"rmq-shovel">>).
-define(SHOVEL_COMPONENT, <<"shovel">>).
-define(DEFAULT_PREFETCH, 1000).
-define(DEFAULT_ACK_MODE, on_confirm).
-define(DEFAULT_RECONNECT_DELAY, 5).
-define(SHOVEL_GUIDE_URL, <<"https://rabbitmq.com/docs/shovel">>).