Comments (5)
I'd say let's pick one. Then if customers ask for the other one, or complain about the one we picked, we can then always come back and revisit this.
I am happy with "you're expected to ensure your consumer is idempotent b/c at-least-once semantics" and go for the higher throughput.
from azure-functions-kafka-extension.
I imagine the risk of StoreOffset
is that if something happens on the async thread and the commit doesn't checkpoint you may end up in a world where you replay a few batches of messages you thought were being checkpoint but the checkpoint was never active? In general we are pretty clear you need to be at-least-once expected, so I think I'm ok with the StoreOffset
given the better throughput.
The other alternative is we make it a configurable choice in the host.json
config so they can choose the method they want and we default to one.
from azure-functions-kafka-extension.
ou need to be at-least-once expected, so I think I'm ok with the
StoreOffset
given the better throughput.
that's my feeling too
from azure-functions-kafka-extension.
we make it a configurable choice
that's not a bad idea. how complex would this make the code @fbeltrao ?
from azure-functions-kafka-extension.
The code to support both is not complex. I am questioning the value.
What Jeff says is right, consumers should be implemented to process messages at least once anyway.
I can run a few tests to see if the messages processing repetition is noticeable in our e2e tests if we optimize for throughput.
from azure-functions-kafka-extension.
Related Issues (20)
- Kafka triggered function [Java] not deserializing Avro with an array structure
- Kafkaoutput binding for azure function : Java HOT 2
- KafkaTrigger (.NET) does not work with Avro schema that has the has an array of records HOT 5
- Support for v2 programming model for Azure Functions using Python HOT 7
- Target scaler is not working (.NET) HOT 1
- Inconsistency between consumer and producer config HOT 1
- How to do exception handling in kafka output trigger if trigger fails to write to kafka HOT 2
- Distributed Tracing and kafka trigger
- Kafka trigger parameterization issues HOT 2
- Confluent Packages out of date causing runtime error
- Support for Bring your own certificates (.pfx)
- SchemaRegistryUrl attribute does not work with Java Azure Functions
- Enable support for rich datatypes in dotnet - isolated based apps using Kafka extension
- Kafka Trigger, Exception in Kafka subscriber, System.ObjectDisposedException at Confluent.Kafka.Impl.SafeKafkaHandle.ThrowIfHandleClosed
- Combine Key, Value, Header, TimeStamp in the same .Net object
- Make Kafka Output a first class typed citizen
- Support for librdkafka compression.codec and compression.type
- Kafka extension V3.9.0 issue HOT 1
- A lot of redundant logs produced
- Azure Function (Java ) to Confluent Kafka output binding error
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 azure-functions-kafka-extension.