118 karma · joined Jul 10, 2014 (12y ago) · 39 submissions
comment 1y ago · link · parent
It's like shedding an almost intact full body skin and finding comfort in watching colleagues take it bowling, having a great time.
comment 2y ago · link · parent
You're also at the same risk if you choose to use their fork.
comment 2y ago · link · parent
comment 2y ago · link · parent
If they'd instead chose to fork the plugins themselves (the only parts where the licenses changed, all except two are Apache V2) then all users can pick and choose which ones they include in their projects, and it doesn't fragment the ecosystem at all. Your plugins would compile in my project, and mine would compile in yours.
The part they're choosing to fork here, which will cause this rift in the community, is still MIT licensed: https://github.com/redpanda-data/benthos. If they simply chose to continue using this MIT part we can all live happily together in a utopian society fully saturated with plugged blobbery.
Edit: I'm bit a baby brained so I forgot that I'm literally streaming live in 30 minutes in order to explain all the changes in detail for those out of the loop: https://www.youtube.com/watch?v=X8nVdUuWZ80
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
Letting my attention float around freely (within limits obviously) often looks like I have a low attention span. However, with a birds eye view on what I'm able to get done I look like I'm hyper focused.
And if I can't find the joy in a long term pursuit then it's very unlikely to be worth my time.
comment 4y ago · link · parent
I'm not trying to scare anyone away from stream processing, in fact a lot of the issues outlined also apply to automated batch processing systems as well. Personally, I think that being realistic and pragmatic about failure conditions makes these systems less intimidating.
11.
The Dodgy State of Stream Processing Delivery Guarantees(youtube.com ↗)
3 points · by jeffail · 4y ago · 1 comment
12.
Ask HN: Bing blocking FOSS docs website, how do I find out why?
2 points · by jeffail · 4y ago · discuss
comment 4y ago · link · parent
14.
Change Data Capture is having a moment. Why?(materialize.com ↗)
3 points · by jeffail · 5y ago · discuss
comment 5y ago · link · parent
I'm not saying workplace pressure etc isn't a factor, but those are also similar factors in pretty much all careers.
16.
Building a Mapping Language in Go with Parser Combinators(youtube.com ↗)
1 points · by jeffail · 6y ago · discuss
comment 6y ago · link · parent
However, I'd say if you're maintaining something and don't enjoy one or more of these hats then keep in mind that totally dominating a problem space doesn't need to be the end goal. There is such a thing as a lifestyle OS project and you can still make a success out of it, gain a loyal (perhaps modest) community, and enjoy taking it slow.
comment 6y ago · link · parent
19.
A dull stream processor in Go(benthos.dev ↗)
3 points · by jeffail · 6y ago · discuss
20.
Enriching 450M Docs Daily with a Boring Stream Processor(underthehood.meltwater.com ↗)
4 points · by jeffail · 7y ago · discuss
comment 7y ago · link · parent
Still, assuming there are no other edge cases there, it doesn't address the other problem where a hypothetical consumer of the output topic is reading an at-least-once feed of your exactly-once topic. In order for that not to be the case then the consumer must also be idempotent, in which case what value was gained from the original deduplication?
comment 7y ago · link · parent
"If the message already exists in RocksDB, the worker simply will not publish it to the output topic and update the offset of the input partition, acknowledging that it has processed the message."
It gets dropped as if it were a duplicate, oops!
Edit: I reread the relevant section...
"If a message was found in the output topic, but not RocksDB (or vice-versa) the dedupe worker will make the necessary repairs to keep the database and RocksDB in-sync. In essence, we’re using the output topic as both our write-ahead-log, and our end source of truth, with RocksDB checkpointing and verifying it."
Not sure entirely what they mean by "(or vice-versa)", if the message exists in RocksDB but not in the output topic how you distinguish between a real duplicate and a crash artifact?
If the last message of a crash happens to be a real duplicate and this recovery mechanism reintroduces it into the pipeline then you have a duplicate.
Either way, it's not an exactly-once feed. At best (assuming message loss isn't possible) it's an at-least-once feed that usually appears to be exactly-once.
comment 7y ago · link · parent
Your processor is described as writing from Kafka to Kafka and using a persisted RocksDB instance to check message identifiers. How then do you ensure messages aren't dropped if your processor crashes or gets killed after checking against RocksDB but before the message is flushed to the Kafka broker?
Also is your producer writing to Kafka not at-least-once? If so then even if it removes all duplicates in its processing stage the feed written to your output topic could still contain duplicates.
By contrast deduplicating on consumption avoids that problem entirely by attempting to build an idempotent consumer, which results in an exactly-once. Although in this case they have identified edge cases of duplicates they're comfortable with.
comment 8y ago · link · parent
It would be a nice stretch goal to have standard tooling within Benthos to share distributed state, perhaps with some ability to do exactly-once processing, but that's not the focus of the project right now.
comment 8y ago · link · parent
comment 8y ago · link · parent
Streams mode lets you run as many isolated stream pipelines as you want in the same process, which in your case could be a simple queue -> webhook bridge. You can manage these pipelines either statically in config files, or dynamically through a REST API.
comment 8y ago · link · parent
My main focus has been providing general purpose stateless processors. So you can build a your own stream processor focusing on what makes it unique, and then the moment it's compiled and packaged it can read and write to anything, and convert any kind of payload to anything else just through configuration.
comment 8y ago · link · parent
It doesn't provide any tools for idempotent calculations yet, just at-least-once delivery guarantees. But when you use it as a framework you get the benefit of all the configurable processors in your new service.