Comments (4)
Thanks for opening the feature request @MahlerFive . This is a bit tricky as offsets are bound to the partitions and you don't really know when to stop the whole consuming process. Let's say partition 1 has an offset on 22-02-2020T16:00:00
but partition 2 does not have any message with that timestamp. When would you stop consuming? I will put more thoughts on this to see if I can find a solution because I agree with you that it could be a very useful feature to have.
from trubka.
I suppose you'd have to wait until there was at least one message with a greater timestamp in each partition to stop. If the timestamp is in the past, you could just stop at newest if you never see a message with a greater timestamp.
I suppose I've never really run into this problem with the other tool I use because I'm either investigating something that happened a while ago or the topic has fairly high throughput anyway. I checked how it was implemented in that tool and it just waits to see a message with greater timestamp.
from trubka.
Hi @MahlerFive . I just released v3.1.2 with --to
flag. Please pull the latest version and let me know what you think. You can also find the updated docs here-Thanks.
from trubka.
Closing the FR. Released in v3.1.2.
from trubka.
Related Issues (8)
- [Feature]: add JSON output format HOT 6
- [Feature]: HOT 1
- [BUG]: Using TRUBKA_PROTO_ROOT does not work HOT 3
- [Feature]: Ability to format consumed proto bytes as a hex string HOT 1
- [Question]: How do you define the partition key HOT 2
- List topic lag? HOT 2
- [Feature]: Make "plain" list output plainer HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trubka.