Comments (5)
Hi @coderroggie for now I would suggest to fall back to node-sinek and use NConsumer (with manual batch mode) and NProducer for distributed high volume situations.
I simply dont have the time and focus to build persistency based on a solid KTable implementation for this lib at the moment - as we have a lot of new challenges that I have to tackle with updates to other libs first.
from kafka-streams.
Hi there @dm261395 and sorry for my late reply.
Indeed the current KTables implementation in this lib has the exact flaws you pointed out.
- KTables focusses purely on a key/value relationship of an inner kafka message's payload value
and not on the actual key to value of kafka messages like the Java client (however it is possible to pass the whole message back as value to the kv function that you pass as argument when creating a KTable instance) - The backup through Kafka topics to re-store KTables has just been implemented as foundation so far and has not been fully implemented
Both points have historical reasons.. as we mainly needed a fast and stable streaming solution when I built this lib a while ago. Feel free to open any PRs regarding KTables or Windows.
Regards,
Chris
from kafka-streams.
Hi @krystianity,
Would the backup through topic you describe in your second point be possible with just changes to this lib? Would there anything from the underlying libs (such as 'librdkafka') that would need to support it?
Thanks
from kafka-streams.
Hi @JRGranell the backup is just based on producing to a topic and re-consuming back from that in case of re-starts etc. there is no need for changes on the low-level clients for that. It requires a bit of deeper Kafka knowledge, as it can be a bit tricky to get single instances in a shared deployment to consume entire topics to rebuild the KTable state in memory or in the DB; however personally I see this as definitely possible to accomplish in the lib.
from kafka-streams.
@krystianity how many 🍻 would it take for you to implement the persistence in this lib? Persistence would allow for us to scale up our microservices when using this lib... without it it seems rough to use in high volume situations.
😄
from kafka-streams.
Related Issues (20)
- Returning JSON as a Buffer without id as a parameter
- Returning JSON value without id injected in it
- How to use it with most-buffer?
- Is it possible to join streams by key?
- Writting stream to topic doesn't write HOT 1
- feature request: KStream leftJoin support HOT 1
- NPM links -> not found
- prototype for sending successful messages to one topic, errors to another topic HOT 1
- Foreign key KTable-KTable join
- trying to generage 2 msgs to output stream from 1 incoming msg HOT 1
- mapJSONConvenience and mapBufferKeyToString do not work dues to faulty isBuffer check
- No clear documentation or example is given regarding streaming from remote topic instead of localhost
- Provide Debezium example
- Question - deployment location HOT 1
- Question Typescript: get Table storage is not optional
- Merge does not produce to output stream. but to respective. input stream
- Calling .consume() is not required in streaming mode.
- Using KTable for look-up with a KStream.
- Is the project alive? HOT 3
- Any chance of supporting non-EOL versions of node?
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 kafka-streams.