emqx_bridge_iotdb.hrl 764 B

1234567891011121314151617181920212223242526
  1. %%--------------------------------------------------------------------
  2. %% Copyright (c) 2023-2024 EMQ Technologies Co., Ltd. All Rights Reserved.
  3. %%--------------------------------------------------------------------
  4. -ifndef(EMQX_BRIDGE_IOTDB_HRL).
  5. -define(EMQX_BRIDGE_IOTDB_HRL, true).
  6. -define(VSN_1_3_X, 'v1.3.x').
  7. -define(VSN_1_2_X, 'v1.2.x').
  8. -define(VSN_1_1_X, 'v1.1.x').
  9. -define(VSN_1_0_X, 'v1.0.x').
  10. -define(VSN_0_13_X, 'v0.13.x').
  11. -define(THRIFT_HOST_OPTIONS, #{
  12. default_port => 6667
  13. }).
  14. -define(PROTOCOL_V1, 'protocol_v1').
  15. -define(PROTOCOL_V2, 'protocol_v2').
  16. -define(PROTOCOL_V3, 'protocol_v3').
  17. -define(THRIFT_NOT_SUPPORT_ASYNC_MSG, <<"The Thrift backend does not support asynchronous calls">>).
  18. -type driver() :: resetapi | thrift.
  19. -endif.