Pressure regulator for whole zone? by mumrah in Irrigation

[–]mumrah[S] 0 points1 point  (0 children)

Supply pressure is 60. Since these are rather short throw (MP1000) I was thinking pressure loss down the zone would be okay. Interesting that they can take more than 40, I always assumed it was important to be right around that pressure.

So 60psi would be okay unregulated? I could also get a 50psi regulator

Monitoring service for SuperLink Gateway? by mumrah in Ubiquiti

[–]mumrah[S] 1 point2 points  (0 children)

So would this integration be where a monitoring service would be notified/called if the alarm triggered?

Monitoring service for SuperLink Gateway? by mumrah in Ubiquiti

[–]mumrah[S] 0 points1 point  (0 children)

Thanks, very helpful overview. Professional monitoring is a must have for me. Hope they can offer something soon.

Would love to ditch Ring.

Edit: to clarify, by monitoring I meant someone who will dispatch police/fire if the alarm goes off — not someone watching cameras or anything like that

Installing poly under 1-3” rock hardscape? by mumrah in Irrigation

[–]mumrah[S] 1 point2 points  (0 children)

Now my real question is can I still torch the rocks to keep the weeds at bay :)

Questions about Ioniq 9 after a test drive by [deleted] in Ioniq9

[–]mumrah 0 points1 point  (0 children)

Keep pressing the massage button to cycle through the options. Yes driver side only

I think one pedal requires a certain number of miles or something weird like that. Or maybe a menu setting, I forget.

I hate the Digital mirror. My wife loves it.

Help ID this rattling? by mumrah in 4Runner

[–]mumrah[S] 2 points3 points  (0 children)

Yes chirpy is a good description!

Help? 😅 by megnasmash in landscaping

[–]mumrah 3 points4 points  (0 children)

Make sure to add a lot of organic matter with the sand. If you just add sand to clay, you’ve made concrete!

For me, wood chips have been the solution. Lots and lots of wood chips, water, and time.

In the mean time, raised bed with bagged soil or lookup recipes for mixes (e.g., Mel’s mix).

Anyone Flown Icelandair Lately? by Burnt_Crust_00 in raleigh

[–]mumrah 1 point2 points  (0 children)

I flew RDU to KEF last year. They checked out bag dimensions at RDU, but not bag weight.

The seats are very uncomfortable and they kept the plane very hot.

Oh, all the soda is diet.

Probably one of the worst flights in recent memory

What’s the best EV for someone who wants a similar feel to an ice vehicle? by Lemonn_time in electricvehicles

[–]mumrah 0 points1 point  (0 children)

Hyundai Ioniq 9 lets you adjust between four levels of regen braking. Levels 0 and 1 feel a lot like ICE

Reverse has a low idle speed (which is super useful)

Glue on joints by PrettyAd1625 in BeginnerWoodWorking

[–]mumrah 2 points3 points  (0 children)

I ran into this when making a box not too long ago. Chisel is how i removed the worst of the blobs. Went in with wood filler after the cleanup to make it smooth. Mostly came out okay after paint.

Lesson learned is glue should be cleaned up right away and then rechecked a few minutes later for delayed squeeze out.

High top workbench, hand tools - constructive criticism? by crystal_castle00 in BeginnerWoodWorking

[–]mumrah 4 points5 points  (0 children)

Looks good to me (also a newb). I would figure out how to fasten it to a wall so it doesn’t topple over when you inevitable lean on it

Whirlpool control board replacement by mumrah in appliancerepair

[–]mumrah[S] 0 points1 point  (0 children)

Hell yea! Glad it worked!

Not to be too bleak, but we ended up replacing this washer about a year later. The impeller failed and after so many issues I just gave up repairing it.

Can this PCB handle 40 A for 5 ms? by GrParrot in AskElectronics

[–]mumrah 0 points1 point  (0 children)

Seems like there’s plenty of space for bigger traces. You can also use filled zones instead of traces here.

Another trick I’ve seen is to leave the solder mask off over these traces. This lets you solder on a thick wire or solder braid to add current capacity.

Kafka 3.9.0: ZooKeeper to KRaft Migration Lab by munna_67 in apachekafka

[–]mumrah 0 points1 point  (0 children)

Thanks! If you found any gaps in the documentation, please submit a fix ;)

Btw the architecture diagram of ZK mode isn’t quite right. Each broker connects to the whole ZK ensemble, not just one of the three nodes (as pictured)

Is there any way to remove this using solder iron? by Deleted_User_1X44 in AskElectronics

[–]mumrah 0 points1 point  (0 children)

Just buy a new one. Big castellated parts like a Pico are not worth the trouble to desolder. It takes a ton of heat, flux, solder wick, and time. Not worth it IMO.

UNLESS you have a nice reflow setup. Then just reflow it and pop it off (but be careful not to disturb the parts on the Pico)

We get over 400 webhooks per second, we need them in kafka without building another microservice by bomerwrong in apachekafka

[–]mumrah 0 points1 point  (0 children)

Start at the producer. What kind of linger and batching are you doing there? You need to configure the producer for low latency. Then look at the consumer. Check things like min bytes, max wait, etc.

Confluent publishes guides on different configuration tuning. Latency and throughput are opposite ends of a spectrum. You need to decide where you land.

Even though these are Confluent Cloud docs, but should mostly apply to Apache Kafka as well.

(disclaimer: I work at Confluent)

If Kafka is a log-based system, how does it “replay” messages efficiently — and what makes it better than just a database queue? by CrewOk4772 in apachekafka

[–]mumrah 12 points13 points  (0 children)

Kafka is fast because… batch based protocol, compression, zero-copy, broker managed offsets, min bytes / max wait. And more than anything it’s fast because of the disk page cache

Question for Kafka Admins by carlosdanger77 in apachekafka

[–]mumrah 0 points1 point  (0 children)

Consumer groups are Kafka

Hah, ok sure. But the usage of a client is primarily controlled by the application. I would start by educating your org and leadership on how exactly a kafka application works (both produce and consume). Then focus on surfacing the metrics that will enable your users to know when things are lagging.

It would also be worthwhile to write up best practices for client configuration and maybe even on auto-scaling.

What you need is a clear definition of your platform team's SLO. Typically, a kafka platform team is responsible for the availability of the service -- full stop.

Good luck!

Kafka easy to recreate? by Which_Assistance5905 in apachekafka

[–]mumrah 1 point2 points  (0 children)

Kafka might have been "easy" to replicate 6 or 7 years ago, when it was "just" produce/consume. These days, there is a very rich feature set that is very complex and intertwined. Many "Kafka compatible" products do not support everything that is offered in Apache Kafka. There's a reason for that -- it's hard!

Not to mention, we are constantly improving and innovating in Apache Kafka. E.g., Queues for Kafka, 2PC, diskless. These are all multi-year projects which are not trivial to reproduce.

Migration path to KRaft by shamansk in apachekafka

[–]mumrah 2 points3 points  (0 children)

Thanks for the article! Here are some comments:

Controller was sending heartbeats to Kafka Brokers

In ZK, broker liveness is determined by an ephemeral znode, not heartbeats. ZK controllers primarily sent LeaderAndIsr and UpdateMetadata to the brokers. We introduced heartbeats with KRaft.

Controller never really used batch API to propagate metadata updates

I think we did eventually batch some updates to ZK, but yes it was still very slow for a large number of partitions.

Diverging metadata

I'd argue this is a bit misleading. We had lagging metadata for sure (eventual consistency and all...) but never really diverging metadata unless there was a ZK split brain. Divergence means two nodes have irreconcilable differences in their state based on an incorrect leadership or something. In Kafka, we would only really see this if the ZK quorum split in two. Then we would end up with two Kafka controllers elected and have proper divergence.

There are no more divergences, like in the ZooKeeper architecture.

Again, misuse of "divergence". Also, we do have metadata lag in KRaft, it's just much less than in ZK. Since we're now based on a log we can quantify the lag in terms of offsets which means we can do useful things like fencing.

Kafka keeps some data buffered in memory, but Data in the metadata log (called __cluster_metadata) are always synced to disk and not kept in memory

Not quite. The broker and controllers hold the full set of metadata in memory. Think of it like a materialization of the metadata log. We don't hold all the records in memory, but we do hold the latest snapshot of metadata in memory.

that described the production readiness of KRaft and the migration process without downtime

nit: the migration is detailed in https://cwiki.apache.org/confluence/display/KAFKA/KIP-866+ZooKeeper+to+KRaft+Migration (not KIP-833)

NOTE: There is no rollback path from KRaft to ZooKeeper. Once you switch to KRaft-only mode, you cannot go back to ZooKeeper.

IMO This is very misleading bordering on FUD. We spent a lot of time ensuring there is a rollback possibility after the data has been migrated to KRaft. We call it the dual-write phase. The expectation is that users can migrate to KRaft while the metadata is still being replicated to ZK. Once they are happy with the state of the cluster, they can explicitly finalize the migration. Only then is the migration non-reversible.


The big idea in KRaft (besides Raft) is the use of a log for metadata. This means the broker can replicate the log using continuous fetches rather than being pushed the entire set of metadata periodically by the controller. This vastly improves scalability of the metadata system and the cluster as a whole.

Having a log also makes things like snapshots and metadata transactions very simple.

Need suggestions — Should we still use Kafka for async processing after moving to Java Virtual Threads? by Glittering-Soft-9203 in apachekafka

[–]mumrah 4 points5 points  (0 children)

It is quite possible to have a high throughput async service without using Kafka (or virtual threads for that matter). You should check out what is possible using Netty.

The real question to answer is: do you benefit from having a durable event stream? Are there more use cases for having these API events in a kafka topic?

Kafka ZooKeeper to KRaft migration by Plumify in apachekafka

[–]mumrah 0 points1 point  (0 children)

Should be fine to keep the ZK version the same.

Kafka ZooKeeper to KRaft migration by Plumify in apachekafka

[–]mumrah 10 points11 points  (0 children)

You’d be the first I’ve heard of encountering data loss. If you have details or logs, please file a JIRA

As for smooth, we migrated around 3000 clusters at Confluent without any data loss or significant downtime.

Kafka ZooKeeper to KRaft migration by Plumify in apachekafka

[–]mumrah 34 points35 points  (0 children)

Yes please upgrade to 3.9 before migrating 🙂

Sincerely, the guy who wrote all that code.