azure-functions-kafka-exten.../samples/typescript
dependabot[bot] cf4a0b102c
Bump minimatch from 3.0.4 to 3.1.2 in /samples/typescript (#412)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jainharsh98 <jainh@microsoft.com>
2023-07-26 17:04:37 +05:30
..
.devcontainer Adding samples for documentation (#318) 2022-04-29 15:59:32 +05:30
.vscode Adding samples for documentation (#318) 2022-04-29 15:59:32 +05:30
KafkaAvroGenericTriggerMany adding the ts file 2022-05-16 20:16:43 +05:30
KafkaOutput Adding samples for documentation (#318) 2022-04-29 15:59:32 +05:30
KafkaOutputMany Adding samples for documentation (#318) 2022-04-29 15:59:32 +05:30
KafkaOutputManyWithHeaders Adding samples for documentation (#318) 2022-04-29 15:59:32 +05:30
KafkaOutputWithHeaders Adding samples for documentation (#318) 2022-04-29 15:59:32 +05:30
KafkaTrigger Adding samples for documentation (#318) 2022-04-29 15:59:32 +05:30
KafkaTriggerAvroGeneric adding the ts file 2022-05-16 20:16:43 +05:30
KafkaTriggerMany Adding samples for documentation (#318) 2022-04-29 15:59:32 +05:30
KafkaTriggerManyWithHeaders Adding samples for documentation (#318) 2022-04-29 15:59:32 +05:30
KafkaTriggerRetry adding the samples for dotnet/java/python/powershell/javascript/typescript 2022-07-26 13:36:59 +05:30
KafkaTriggerRetryExponential changes in the samples 2022-08-01 16:29:38 +05:30
KafkaTriggerWithHeaders Adding samples for documentation (#318) 2022-04-29 15:59:32 +05:30
.dockerignore Adding samples for documentation (#318) 2022-04-29 15:59:32 +05:30
.funcignore Adding samples for documentation (#318) 2022-04-29 15:59:32 +05:30
.gitignore Adding samples for documentation (#318) 2022-04-29 15:59:32 +05:30
NuGet.config Adding samples for documentation (#318) 2022-04-29 15:59:32 +05:30
README.md Adding samples for documentation (#318) 2022-04-29 15:59:32 +05:30
extensions.csproj Correcting the Kafka extension version from 3.3.3 to 3.4.0 2022-05-13 13:00:43 +05:30
host.json Adding samples for documentation (#318) 2022-04-29 15:59:32 +05:30
local.settings.json.eventhub.example Adding samples for documentation (#318) 2022-04-29 15:59:32 +05:30
local.settings.json.example Adding samples for documentation (#318) 2022-04-29 15:59:32 +05:30
package-lock.json Bump minimatch from 3.0.4 to 3.1.2 in /samples/typescript (#412) 2023-07-26 17:04:37 +05:30
package.json Adding samples for documentation (#318) 2022-04-29 15:59:32 +05:30
tsconfig.json Adding samples for documentation (#318) 2022-04-29 15:59:32 +05:30

README.md

Developers guide for Kafka Functions for TypeScript

TypeScript is almost the same as JavaScript. Please refer the JavaScript. In the TypeScript sample, we don't provide confluent cloud sample. The configuration is the same as JavaScript.

Samples

We provide two samples.

Name Description Kafka Cluster Enabled
KafkaTrigger Simple Kafka trigger sample local yes
KafkaTriggerMany Kafka batch processing sample local yes

Difference between Javascript and TypeScript

You need to compile your app before start Azure Functions Core Tools. Refer to the Functions Documentation: TypeScript documentation for more details.

$ npm install
$ npm run build

Reference