Comments (7)
@nzthiago This should work for any functions that have an azure event hub sdk. You should be able to find the correct sdk for your language here https://docs.microsoft.com/en-us/azure/event-hubs/sdks
Sure if you want to forego Functions bindings altogether you can just use the SDK for any of the languages in your own functions code, that is the workaround our customers are using. But if using bindings, .NET is the only one that lets you bind to EventHubClient.
from azure-functions-eventhubs-extension.
After testing in production it turned out different tiers have different max message sizes.
standard: 1MB
basic: 256KB
We need to stick with 256KB for now. Also there is no way to get pricing tier for an Event Hub using SDK.
from azure-functions-eventhubs-extension.
@alrod erally? Where did you see this? I can't find any different limits apart from the 1MB.
Would it maybe at least be possible to make the 256KB the default in the binding but allow in overwrite via the host.json config?!
from azure-functions-eventhubs-extension.
I tested this using console app and latest eventhub sdk (4.1.0) sending messages of different sizes.
Overwriting in host.json sounds as good idea, I created an issue to track. As workaround you can bind to [EventHub(TestHubName)] EventHubClient client
in azure function and send a message more than 256KB using EventHubClient.
from azure-functions-eventhubs-extension.
Yeah I just tested myself and you are right, Basic event hub has still the limit of 256KB message size. Doesn't seem to be documented anywhere. I'll reach out to the PG.
from azure-functions-eventhubs-extension.
@alrod - that workaround would only work for .NET Functions right? For other functions we'd have to wait until the linked issue you created is fixed?
from azure-functions-eventhubs-extension.
@nzthiago This should work for any functions that have an azure event hub sdk. You should be able to find the correct sdk for your language here https://docs.microsoft.com/en-us/azure/event-hubs/sdks
from azure-functions-eventhubs-extension.
Related Issues (20)
- Consumptionplan wont scale out if eventhub connection is managedIdentity HOT 1
- Error : Event Hub Trigger The response ended prematurely, with at least 156 additional bytes expected. HOT 2
- Stop Listener when disposed HOT 2
- Can not have enough instances HOT 2
- Using single dispatch, extension sometimes logs incorrect trigger details
- This repo is missing important files HOT 2
- EventHubs Trigger with "cardinality": "many" fails when input is not valid JSON HOT 2
- PartitionContext JSON serialization includes CancellationToken data. HOT 1
- Add support for interval based checkpointing in EventHubs extension.
- Azure web job stop sending data and restart sending data unexpectedly on event hub HOT 2
- Two different events on one trigger HOT 10
- Incorrect EventHubTrigger properties received in deviceLifecycleEvents when "cardinality:"one"
- Currently, eventhub triggers require the role to be granted on eventhub level, not only on consumer group.
- Single slow function execution leads to all events on the same partition being delayed.
- EventHubTrigger vs. EventProcessor and CPU utilization #3036
- Retry loop should cancel on lease lost HOT 2
- The lease ID specified did not match the lease ID for the blob HOT 5
- Include the Function name on log messages HOT 1
- Log eventhub namespace and eventhub name to detect cases when another triggers listens the same eventhub.
- Scale monitor does not respect initial offset position
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-eventhubs-extension.