BUILD 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "acl_bindings.go",
  6. "acl_create_request.go",
  7. "acl_create_response.go",
  8. "acl_delete_request.go",
  9. "acl_delete_response.go",
  10. "acl_describe_request.go",
  11. "acl_describe_response.go",
  12. "acl_filter.go",
  13. "acl_types.go",
  14. "add_offsets_to_txn_request.go",
  15. "add_offsets_to_txn_response.go",
  16. "add_partitions_to_txn_request.go",
  17. "add_partitions_to_txn_response.go",
  18. "admin.go",
  19. "alter_configs_request.go",
  20. "alter_configs_response.go",
  21. "api_versions_request.go",
  22. "api_versions_response.go",
  23. "async_producer.go",
  24. "broker.go",
  25. "client.go",
  26. "config.go",
  27. "config_resource_type.go",
  28. "consumer.go",
  29. "consumer_group_members.go",
  30. "consumer_metadata_request.go",
  31. "consumer_metadata_response.go",
  32. "crc32_field.go",
  33. "create_partitions_request.go",
  34. "create_partitions_response.go",
  35. "create_topics_request.go",
  36. "create_topics_response.go",
  37. "delete_groups_request.go",
  38. "delete_groups_response.go",
  39. "delete_records_request.go",
  40. "delete_records_response.go",
  41. "delete_topics_request.go",
  42. "delete_topics_response.go",
  43. "describe_configs_request.go",
  44. "describe_configs_response.go",
  45. "describe_groups_request.go",
  46. "describe_groups_response.go",
  47. "encoder_decoder.go",
  48. "end_txn_request.go",
  49. "end_txn_response.go",
  50. "errors.go",
  51. "fetch_request.go",
  52. "fetch_response.go",
  53. "find_coordinator_request.go",
  54. "find_coordinator_response.go",
  55. "heartbeat_request.go",
  56. "heartbeat_response.go",
  57. "init_producer_id_request.go",
  58. "init_producer_id_response.go",
  59. "join_group_request.go",
  60. "join_group_response.go",
  61. "leave_group_request.go",
  62. "leave_group_response.go",
  63. "length_field.go",
  64. "list_groups_request.go",
  65. "list_groups_response.go",
  66. "message.go",
  67. "message_set.go",
  68. "metadata_request.go",
  69. "metadata_response.go",
  70. "metrics.go",
  71. "mockbroker.go",
  72. "mockresponses.go",
  73. "offset_commit_request.go",
  74. "offset_commit_response.go",
  75. "offset_fetch_request.go",
  76. "offset_fetch_response.go",
  77. "offset_manager.go",
  78. "offset_request.go",
  79. "offset_response.go",
  80. "packet_decoder.go",
  81. "packet_encoder.go",
  82. "partitioner.go",
  83. "prep_encoder.go",
  84. "produce_request.go",
  85. "produce_response.go",
  86. "produce_set.go",
  87. "real_decoder.go",
  88. "real_encoder.go",
  89. "record.go",
  90. "record_batch.go",
  91. "records.go",
  92. "request.go",
  93. "response_header.go",
  94. "sarama.go",
  95. "sasl_handshake_request.go",
  96. "sasl_handshake_response.go",
  97. "sync_group_request.go",
  98. "sync_group_response.go",
  99. "sync_producer.go",
  100. "timestamp.go",
  101. "txn_offset_commit_request.go",
  102. "txn_offset_commit_response.go",
  103. "utils.go",
  104. ],
  105. importmap = "go-common/vendor/github.com/Shopify/sarama",
  106. importpath = "github.com/Shopify/sarama",
  107. visibility = ["//visibility:public"],
  108. deps = [
  109. "//vendor/github.com/davecgh/go-spew/spew:go_default_library",
  110. "//vendor/github.com/eapache/go-resiliency/breaker:go_default_library",
  111. "//vendor/github.com/eapache/go-xerial-snappy:go_default_library",
  112. "//vendor/github.com/eapache/queue:go_default_library",
  113. "//vendor/github.com/pierrec/lz4:go_default_library",
  114. "//vendor/github.com/rcrowley/go-metrics:go_default_library",
  115. ],
  116. )
  117. filegroup(
  118. name = "package-srcs",
  119. srcs = glob(["**"]),
  120. tags = ["automanaged"],
  121. visibility = ["//visibility:private"],
  122. )
  123. filegroup(
  124. name = "all-srcs",
  125. srcs = [":package-srcs"],
  126. tags = ["automanaged"],
  127. visibility = ["//visibility:public"],
  128. )