diff --git a/libbeat/outputs/kafka/kafka.go b/libbeat/outputs/kafka/kafka.go index f2b0fb27cb45..8f06398eb0c3 100644 --- a/libbeat/outputs/kafka/kafka.go +++ b/libbeat/outputs/kafka/kafka.go @@ -15,9 +15,6 @@ // specific language governing permissions and limitations // under the License. -//go:build integration -// +build integration - package kafka import ( diff --git a/libbeat/outputs/kafka/kafka_integration_test.go b/libbeat/outputs/kafka/kafka_integration_test.go index a47ae2b8b1ef..2be42f639e79 100644 --- a/libbeat/outputs/kafka/kafka_integration_test.go +++ b/libbeat/outputs/kafka/kafka_integration_test.go @@ -15,6 +15,9 @@ // specific language governing permissions and limitations // under the License. +//go:build integration +// +build integration + package kafka import (