Add option to seek Kafka transport to timestamp-based offsets#205
Add option to seek Kafka transport to timestamp-based offsets#205alistairking wants to merge 3 commits intoCAIDA:masterfrom
Conversation
Previously we ignored the `--enable-debug` configure flag.
These are currently only exposed through the `kafka` data-interface.
|
Just a heads up that this doesn't build on Ubuntu 16.04: Guess I could just upgrade... |
|
@salcock somehow i missed your message. |
|
@alistairking I resolved the merge conflict for this pull request. Could you take a look at d634a30 and see if you see any issue? |
|
This does not build on Ubuntu 20.04. Same error message show commented by @salcock ( |
|
The To support release this new, we might need to ask users (Ubuntu/Debian) to add their apt repository and pull the deb from there (https://docs.confluent.io/current/installation/installing_cp/deb-ubuntu.html#get-the-software). Another option will be add a submodule to libbgpstream and build librdkafka from source as part of the build process. |
|
I was able to build this with the updated librdkafka (built from source). However:
I realized that this might not be a good idea since users may not be able to upgrade their local librdkafka version for various reasons. |
|
Right, there's a couple things here.
I think the idea of a submodule is a good one. We may be able to get it to build a static lib and then link against that. Maybe let's create a new issue to track that work and I'll try and find the time to fix this code to work on older versions of rdkafka? |


This is a prototype feature and is not yet integrated with the normal BGPStream time interval filter.
It must be enabled directly using the
-o timestamp-fromdata interface option like:Note that the timestamp here is msec since unix epoch. If a topic doesn't have a given timestamp, it will seek to the end.