Comments (5)
@Vijay-Nirmal Can you please provide information on the number of instances running for the function app when you observed this behavior?
As the function app scales - each instance should be able to process the assigned partitions. This should lead to parallel processing of the partitions. //@krishna-kariya
from azure-functions-kafka-extension.
@jainharsh98
FUNCTIONS_WORKER_PROCESS_COUNT
was already set as10
. Even with10
it had the same behavior.
Worker count does not matter because on host you can have a situation when a buffer of messages is fulfiled by messages only from one partition, and only these messages will be procces and send to workers.
Check this KIP
https://cwiki.apache.org/confluence/display/KAFKA/KIP-41%3A+KafkaConsumer+Max+Records#KIP41:KafkaConsumerMaxRecords-EnsuringFairConsumption
Unfortunately, it is not the case that each worker is a separate consumer in Kafka.
from azure-functions-kafka-extension.
@jainharsh98 Only one instance (reason is below), but we need to process multiple events in parallel we don't care about order. Is it not possible with one instance?
The reason we have only one instance (for now) is because we are using Dedicated Plan (App Service Plan), in that there is no proper metric to perform auto-scaling.
from azure-functions-kafka-extension.
@Vijay-Nirmal If you are working with a single instance - I would suggest you try increasing the Worker Process Count as described here depending on the number of cores provided by your plan and the load being processed.
For dedicated plan you can have both autoscaling and set the number of instances you want manually - In case you want to use scaling for parallel processing of partitions on separate instances.
from azure-functions-kafka-extension.
@jainharsh98 FUNCTIONS_WORKER_PROCESS_COUNT
was already set as 10
. Even with 10
it had the same behavior.
from azure-functions-kafka-extension.
Related Issues (20)
- 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
- Typescript Support for Functions v4?
- Upgrading .NET version for Extension Projects
- Confluent SDK upgrade
- Scale to Zero Support for Kafka Extension
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.