Comments (8)
The root cause is definitely they are pulling from the same partition. I would investigate directly in Brod if that's the expected behaviour and, if so, how to change it.
from broadway_kafka.
While I was trying digging into brod
, I started looking into BrodwayKafka
and poke around with the producer process. When I run :sys.get_status
on the producer, I get this huge state https://gist.github.com/slashmili/93b1fd245e65b630bb875ebed8935f10
It seems that producer's buffer is full with messages from different partitions but for some reason is not willing to give it to the processors.
I'm using broadway 1.0.3
and broadway_kafka 0.3.4
from broadway_kafka.
Ok, that explains it. GenStage PartitionDispatcher expects an even distribution of events but there are large amounts of events going to a single partition. Can you please try out #90?
from broadway_kafka.
Yup! It's putting the other process into work
Never have been happy to see red signs!
Thanks a lot @josevalim!
from broadway_kafka.
@slashmili what version of
https://github.com/dashbitco/broadway_dashboard
and
https://hexdocs.pm/phoenix_live_dashboard/Phoenix.LiveDashboard.html
are you using ? because i set mine up to just be
live_dashboard "/dashboard",
metrics: TelemetrySupervisor,
additional_pages: [
broadway: BroadwayDashboard
]
end
but whenever i go to that tab i always get
from broadway_kafka.
@amacciola I ran these test in this sample app https://github.com/slashmili/tmp-phoenix-live-dashboard-with-broadway-pluging
In our prod we are using plds and connect the nodes.
But if you can run the sample app and it's working, you might find what's wrong in your app.
from broadway_kafka.
@slashmili have you ever had it working on any env outside of running it locally NOT using PLDS ?
from broadway_kafka.
@amacciola No, I don't have an embedded live dashboard in non-dev environments.
from broadway_kafka.
Related Issues (20)
- Support :query_api_versions brod option HOT 1
- Cut release 0.3.6 ? HOT 2
- Consumer Static Membership HOT 9
- No rejoin after "payload connection down :shutdown, :tcp_closed}" deadlock on race between assigments_revoked call and handle DOWN message HOT 16
- the table identifier does not refer to an existing ETS table HOT 5
- Deadlock on race between assigments_revoked call and handle DOWN message HOT 3
- drain_after_revoke failed due to killed process HOT 3
- Producers stuck in :assignments_revoked causing endless group rebalancing HOT 24
- Feature: Add option to set the starting offset for new consumer HOT 6
- Backoff strategy HOT 1
- Manual Partition Assignment HOT 4
- Allow to force consume the topic from the beginning or the end
- Undesirable resource usage related to producer concurrency HOT 8
- Add support for reseting offsets to a specific timestamp HOT 1
- Request for a new release HOT 1
- Offsets accumulating in the producer ack state (take 2) HOT 6
- Updates on the release date of the next version? HOT 5
- Fails to compile on otp 27 HOT 9
- Implementing offset lag telemetry HOT 5
- Performance problems with shared_client option HOT 1
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 broadway_kafka.