about summary refs log tree commit diff
path: root/src/payload-processor/processor/BUILD.bazel
blob: f957fd34f35d5b467ec651a4d925ffb73cf564fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")

go_library(
    name = "processor",
    srcs = ["processor.go"],
    importpath = "github.com/Baitinq/fs-tracer-backend/src/payload-processor/processor",
    visibility = ["//visibility:public"],
    deps = ["@com_github_segmentio_kafka_go//:kafka-go"],
)

go_test(
    name = "processor_test",
    srcs = ["processor_test.go"],
    embed = [":processor"],
    deps = [
        "@com_github_segmentio_kafka_go//:kafka-go",
        "@com_github_stretchr_testify//require",
    ],
)