Azure / Azure/azure-functions-nodejs-library

Support kafka trigger

Open
#192 5 comments 1 reaction 0 assignees View on GitHub
area:nodejs-functions feature P3
Dominant language
TypeScript
Stars
70
Forks
35
Avg merge
4d 18h
Merged PRs (30d)
6

Description

I was unable to find documentation how to configure the librdkafka settings in JS with the v4 runtime.

1. How can we configure properties such as `AutoOffsetReset`/`auto.offset.reset`?
2. Is there a types package that we can leverage to type the options since there is no `kafka` specific trigger and we must use the `generic` trigger?

Thank you in advance for your insight

#### Investigative information

Please provide the following:

- Timestamp: N/A
- Function App name: N/A
- Function name(s) (as appropriate): N/A
- Invocation ID: N/A
- Region: N/A

#### Repro steps

Provide the steps required to reproduce the problem: N/A

image

#### Expected behavior

Provide a description of the expected behavior.

N/A

#### Actual behavior

Provide a description of the actual behavior observed.

#### Known workarounds

Provide a description of any known workarounds.

N/A

#### Related information

Provide any related information

* Programming language used : Typescript
* Links to source
* Bindings used: Kafka
* Runtime: "@azure/functions": "^4.0.1",
* `host.json`:
```json
{
"version": "2.0",
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"excludedTypes": "Request"
}
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4.*, 5.0.0)"
}
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.