Comments (10)
It applies to all of the partitions, which is highly impractical if it werent for the symbolic offsets:
- beginning
- end
- -NNNN (tail)
- stored
from kcat.
So, it doesn’t work with manually entered offsets? Or, how does stored work with kafkacat? Is there a way to tell it to store and read offsets in a directory (like kafkatee?)
On Oct 16, 2014, at 12:18 PM, Magnus Edenhill [email protected] wrote:
It applies to all of the partitions, which is highly impractical if it werent for the symbolic offsets:
beginning
end
-NNNN (tail)
stored
—
Reply to this email directly or view it on GitHub.
from kcat.
It doesnt work with absolute offsets, no, or.. it works in the way that it'll use that offset for all partitions ,which is probably wrong.
Use -X topic.offset.store.path=dir
to specify a directory.
I'm guessing you want something like:
kafkacat .... -t muh_topic -o 192 -p 0 -o 935 -p 1 -o 512 -p 2
- partition 0: offset 192
- partition 1: offset 935
- partition 2: offset 512
right?
from kcat.
Ah! offset.store.path will work just fine, I think. Just tested this and I think it works.
Question, if I use -e, or -c , will the offset files be written to when kafkacat exits? Or will they only be written to every auto.commit.interval.ms?
On Oct 16, 2014, at 1:07 PM, Magnus Edenhill [email protected] wrote:
It doesnt work with absolute offsets, no, or.. it works in the way that it'll use that offset for all partitions ,which is probably wrong.
Use offset.store.path to specify a directory.
I'm guessing you want something like:
kafkacat .... -t muh_topic -o 192 -p 0 -o 935 -p 1 -o 512 -p 2partition 0: offset 192
partition 1: offset 935
partition 2: offset 512
right?—
Reply to this email directly or view it on GitHub.
from kcat.
Both, every commit.interval.ms and at shutdown.
from kcat.
What happens if SIGINT (ctrl-C?)
from kcat.
It will exit cleanly (and commit).
from kcat.
Huhm, maybe it wont, it will destroy rdkafka but doesnt wait for completion. I should fix that.
from kcat.
Do you desire the per-partition -o offset switch?
from kcat.
No, I don’t think so… That might be useful for debugging now and then, but the stored offset files should do just fine.
On Oct 17, 2014, at 3:27 AM, Magnus Edenhill [email protected] wrote:
Do you desire the per-partition -o offset switch?
—
Reply to this email directly or view it on GitHub.
from kcat.
Related Issues (20)
- Kcat with SSL fails HOT 1
- feature request: add `-v` and `--version` flags HOT 3
- logical type support in avro format
- Having bootstrap.servers configured in ~/.config/kcat.conf causes errors output with mock cluster
- Kafkacat would read less records than expected
- Is this project alive or abandoned? HOT 3
- kcat built under Windows does not support the High-level KafkaConsumer mode
- Publish 1.7 for apt HOT 1
- Feature Request: Include version info in the binary file properties, at least for Windows builds.
- bvn13/kat repository not available for Fedora 38
- "-e" doesnt exit as it should. I.e. kafkacat -b kafkahost -o end -e -t mytopic HOT 1
- Hi, same issue...
- support avro
- README typo
- KCAT ignores ssl.ca.location if it's in config file HOT 2
- if ?? HOT 1
- Stream Nginx Logs to Kafka via kcat | messages are not sent as logs are written
- Hang on trying produce with -l option
- Dependency on libssl1.1
- Some 32-bit archs need linking to `libatomic`
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 kcat.