Comments (2)
Current workaround:
public async Task Run(
[EventHubTrigger(
eventHubName: "ingestion",
Connection = "IngestionEventHubConnStr",
ConsumerGroup = "lander-initial",
IsBatched = false)]
EventData myEventHubMessage,
FunctionContext functionContext,
string partitionContext)
{
var partitionContextDeserialized = JsonConvert.DeserializeObject<dynamic>(partitionContext);
from azure-functions-dotnet-worker.
I've been hitting the same issue. The workaround worked partially for me, the JSON contains PartitionId
, ConsumerGroup
, EventHubName
and FullyQualifiedNamespace
.
Instead of binding to a string
type and deserialising in the function you can also directly bind to a record with those fields, i.e.
public record PartitionContext(string? PartitionId, string? ConsumerGroup, string? EventHubName, string? FullyQualifiedNamespace);
from azure-functions-dotnet-worker.
Related Issues (20)
- Add task in pipeline to deploy new throughput apps
- Throughput Testing Cleanup HOT 1
- Throughput Test Alerting
- BindInputAsync caches without regard to type, which leads to invalid cast later HOT 4
- SignalR extensions 1.13.0 Could not load file or assembly 'Microsoft.Extensions.Options, Version=7.0.0.0, HOT 2
- Enhancing Configuration Flexibility for Azure Functions Triggers
- .Net8 Isolated worker Service Bus Trigger "No Job functions found" error when deploying code to azure functions HOT 19
- Inject class-based SignalR ServerlessHub to other Azure Function classes HOT 2
- Declare the projects as alpha and non production ready due to being riddled with bugs. HOT 1
- HttpTrigger Model Binding gives null v1.17.2 HOT 4
- Add Front Door tracking reference to Application Insights logs
- Analyzer for multiple output bindings using IActionResult
- Upgrade to version 1.16.0 generates error CS0246 HOT 2
- Service bus message actions throwing Grpc.Core.RpcException when sending multiple requests HOT 2
- CreateCheckStatusResponse does not work when `HttpRequestMessage` is used (no built-in Function HTTP types)
- Multiple output bindings does not work with ASP.NET Core integration response objects HOT 1
- TimeZoneInfo.FindSystemTimeZoneById discrepancy in .Net 8 based Web API deployed as Web App on Linux HOT 3
- Is there a way to get the next scheduled occurence of an Azure Timer function? This issue seems to say that `TimerInfo` should have a schedule property, but I'm not seeing it in .NET 8.
- Logs sometimes going missing in isolated worker HOT 14
- ASP.NET Core integration HOT 1
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-dotnet-worker.