Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when no new message #1

Open
smoreauBX opened this issue Jan 9, 2023 · 0 comments
Open

Error when no new message #1

smoreauBX opened this issue Jan 9, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@smoreauBX
Copy link

Hi,
Very nice job with this program.

I have some bug,
When I want to run kafka-dump and there are no new message in the topic, I have this message :

INFO[2023-01-09T10:35:01Z] Limit: 0 - Concurrent consumers: 1
INFO[2023-01-09T10:35:01Z] [Worker-0] Exporting to: TEST/kafka-dump-feature2.dump
INFO[2023-01-09T10:35:01Z] Subscribed topics: [feature-2]
INFO[2023-01-09T10:35:31Z] Waited for 30s but no messages any more! Finish!
INFO[2023-01-09T10:35:32Z] Flushed data to file
panic: Failed to commit messages: Local: No offset stored

goroutine 8 [running]:
github.com/huantt/kafka-dump/impl.(*Exporter).Run.func2()
	/root/go/pkg/mod/github.com/huantt/[email protected]/impl/exporter.go:60 +0x6f
github.com/huantt/kafka-dump/impl.(*Exporter).Run(0xc0002d64c0)
	/root/go/pkg/mod/github.com/huantt/[email protected]/impl/exporter.go:73 +0x774
github.com/huantt/kafka-dump/cmd.CreateExportCommand.func1.1(0x0?)
	/root/go/pkg/mod/github.com/huantt/[email protected]/cmd/exporter.go:92 +0x4fb
created by github.com/huantt/kafka-dump/cmd.CreateExportCommand.func1
	/root/go/pkg/mod/github.com/huantt/[email protected]/cmd/exporter.go:63 +0x35e

@huantt huantt added the bug Something isn't working label May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants