elastic / elastic/beats

Kafka offsets_for_times not working with Beats because of a Sarama bug

Open
#43,824 3 comments 0 reactions 0 assignees View on GitHub
needs_team
Dominant language
Go
Stars
12.7k
Forks
5k
Avg merge
2d 2h
Merged PRs (30d)
364

Description

Because of a [bug](https://github.com/IBM/sarama/pull/3108) in Sarama library, when producing messages to Kafka, client cannot start consuming from a point in time based on a timestamp.

Example of clients which are affected:

```shell
$ kcat -C -o s@timestamp
```

or in python

```python
consumer.offsets_for_times(partitions)
```

The fix has been released in Sarama https://github.com/IBM/sarama/releases/tag/v1.45.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.