Telefonica / prometheus-kafka-adapter

Use Kafka as a remote storage database for Prometheus (remote write only)
Apache License 2.0
364 stars 135 forks source link

prometheus-kafka-adapter:1.8 can not build in arm64 #116

Closed wdgde closed 1 year ago

wdgde commented 1 year ago

0 126.8 /usr/bin/ld: /go/pkg/mod/github.com/confluentinc/confluent-kafka-go@v1.9.0/kafka/librdkafka_vendor/librdkafka_glibc_linux.a(rdkafka_error.o): Relocations in generic ELF (EM: 62)

0 126.8 /usr/bin/ld: /go/pkg/mod/github.com/confluentinc/confluent-kafka-go@v1.9.0/kafka/librdkafka_vendor/librdkafka_glibc_linux.a(rdkafka_error.o): Relocations in generic ELF (EM: 62)

0 126.8 /usr/bin/ld: /go/pkg/mod/github.com/confluentinc/confluent-kafka-go@v1.9.0/kafka/librdkafka_vendor/librdkafka_glibc_linux.a: error adding symbols: file in wrong format

wdgde commented 1 year ago

we can update github.com/confluentinc/confluent-kafka-go from v1.8.2 to v2.0.2,then this error can be solve.