Skip to content

How to receive events batch in Eventhub triggered function #411

@joal42

Description

@joal42

Investigative information

I have a eventhub triggered function in python and want to receive events in batch.

In function.json set cardinality to many
"cardinality": "many",
What should the parameter in main function to pass a list of events?

This example can only get one event data:
def main(event: func.EventHubEvent):

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions