132 lines
4.1 KiB
Python
132 lines
4.1 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"acl_bindings.go",
|
|
"acl_create_request.go",
|
|
"acl_create_response.go",
|
|
"acl_delete_request.go",
|
|
"acl_delete_response.go",
|
|
"acl_describe_request.go",
|
|
"acl_describe_response.go",
|
|
"acl_filter.go",
|
|
"acl_types.go",
|
|
"add_offsets_to_txn_request.go",
|
|
"add_offsets_to_txn_response.go",
|
|
"add_partitions_to_txn_request.go",
|
|
"add_partitions_to_txn_response.go",
|
|
"admin.go",
|
|
"alter_configs_request.go",
|
|
"alter_configs_response.go",
|
|
"api_versions_request.go",
|
|
"api_versions_response.go",
|
|
"async_producer.go",
|
|
"broker.go",
|
|
"client.go",
|
|
"config.go",
|
|
"config_resource_type.go",
|
|
"consumer.go",
|
|
"consumer_group_members.go",
|
|
"consumer_metadata_request.go",
|
|
"consumer_metadata_response.go",
|
|
"crc32_field.go",
|
|
"create_partitions_request.go",
|
|
"create_partitions_response.go",
|
|
"create_topics_request.go",
|
|
"create_topics_response.go",
|
|
"delete_groups_request.go",
|
|
"delete_groups_response.go",
|
|
"delete_records_request.go",
|
|
"delete_records_response.go",
|
|
"delete_topics_request.go",
|
|
"delete_topics_response.go",
|
|
"describe_configs_request.go",
|
|
"describe_configs_response.go",
|
|
"describe_groups_request.go",
|
|
"describe_groups_response.go",
|
|
"encoder_decoder.go",
|
|
"end_txn_request.go",
|
|
"end_txn_response.go",
|
|
"errors.go",
|
|
"fetch_request.go",
|
|
"fetch_response.go",
|
|
"find_coordinator_request.go",
|
|
"find_coordinator_response.go",
|
|
"heartbeat_request.go",
|
|
"heartbeat_response.go",
|
|
"init_producer_id_request.go",
|
|
"init_producer_id_response.go",
|
|
"join_group_request.go",
|
|
"join_group_response.go",
|
|
"leave_group_request.go",
|
|
"leave_group_response.go",
|
|
"length_field.go",
|
|
"list_groups_request.go",
|
|
"list_groups_response.go",
|
|
"message.go",
|
|
"message_set.go",
|
|
"metadata_request.go",
|
|
"metadata_response.go",
|
|
"metrics.go",
|
|
"mockbroker.go",
|
|
"mockresponses.go",
|
|
"offset_commit_request.go",
|
|
"offset_commit_response.go",
|
|
"offset_fetch_request.go",
|
|
"offset_fetch_response.go",
|
|
"offset_manager.go",
|
|
"offset_request.go",
|
|
"offset_response.go",
|
|
"packet_decoder.go",
|
|
"packet_encoder.go",
|
|
"partitioner.go",
|
|
"prep_encoder.go",
|
|
"produce_request.go",
|
|
"produce_response.go",
|
|
"produce_set.go",
|
|
"real_decoder.go",
|
|
"real_encoder.go",
|
|
"record.go",
|
|
"record_batch.go",
|
|
"records.go",
|
|
"request.go",
|
|
"response_header.go",
|
|
"sarama.go",
|
|
"sasl_handshake_request.go",
|
|
"sasl_handshake_response.go",
|
|
"sync_group_request.go",
|
|
"sync_group_response.go",
|
|
"sync_producer.go",
|
|
"timestamp.go",
|
|
"txn_offset_commit_request.go",
|
|
"txn_offset_commit_response.go",
|
|
"utils.go",
|
|
],
|
|
importmap = "go-common/vendor/github.com/Shopify/sarama",
|
|
importpath = "github.com/Shopify/sarama",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//vendor/github.com/davecgh/go-spew/spew:go_default_library",
|
|
"//vendor/github.com/eapache/go-resiliency/breaker:go_default_library",
|
|
"//vendor/github.com/eapache/go-xerial-snappy:go_default_library",
|
|
"//vendor/github.com/eapache/queue:go_default_library",
|
|
"//vendor/github.com/pierrec/lz4:go_default_library",
|
|
"//vendor/github.com/rcrowley/go-metrics:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [":package-srcs"],
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:public"],
|
|
)
|