BUILD.bazel 810 B

12345678910111213141516171819202122232425262728293031
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "consumer_group.go",
  6. "offset_manager.go",
  7. "utils.go",
  8. ],
  9. importmap = "go-common/vendor/github.com/wvanbergen/kafka/consumergroup",
  10. importpath = "github.com/wvanbergen/kafka/consumergroup",
  11. visibility = ["//visibility:public"],
  12. deps = [
  13. "//vendor/github.com/Shopify/sarama:go_default_library",
  14. "//vendor/github.com/wvanbergen/kazoo-go:go_default_library",
  15. ],
  16. )
  17. filegroup(
  18. name = "package-srcs",
  19. srcs = glob(["**"]),
  20. tags = ["automanaged"],
  21. visibility = ["//visibility:private"],
  22. )
  23. filegroup(
  24. name = "all-srcs",
  25. srcs = [":package-srcs"],
  26. tags = ["automanaged"],
  27. visibility = ["//visibility:public"],
  28. )