{"id":28625543,"url":"https://github.com/inngest/inngest-kt","last_synced_at":"2025-08-31T11:35:25.647Z","repository":{"id":205299759,"uuid":"712631978","full_name":"inngest/inngest-kt","owner":"inngest","description":"Kotlin/Java SDK for Inngest","archived":false,"fork":false,"pushed_at":"2025-01-31T17:37:33.000Z","size":378,"stargazers_count":5,"open_issues_count":3,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-11T05:16:32.371Z","etag":null,"topics":["durable-execution","inngest","java","kotlin","queues","workflow-engine","workflows"],"latest_commit_sha":null,"homepage":"https://www.inngest.com","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inngest.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-31T21:29:03.000Z","updated_at":"2025-04-29T20:58:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"3d65f852-10b8-4950-bfc4-8fa2025edbc4","html_url":"https://github.com/inngest/inngest-kt","commit_stats":null,"previous_names":["inngest/inngest-kt"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/inngest/inngest-kt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inngest%2Finngest-kt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inngest%2Finngest-kt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inngest%2Finngest-kt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inngest%2Finngest-kt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inngest","download_url":"https://codeload.github.com/inngest/inngest-kt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inngest%2Finngest-kt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259427072,"owners_count":22855564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["durable-execution","inngest","java","kotlin","queues","workflow-engine","workflows"],"created_at":"2025-06-12T08:10:53.943Z","updated_at":"2025-06-12T08:10:55.906Z","avatar_url":"https://github.com/inngest.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Inngest Kotlin SDK\n\n[![Maven Central Version - inngest](https://img.shields.io/maven-central/v/com.inngest/inngest?label=com.inngest%2Finngest)](https://central.sonatype.com/artifact/com.inngest/inngest)\n[![Maven Central Version - inngest-spring-boot-adapter](https://img.shields.io/maven-central/v/com.inngest/inngest-spring-boot-adapter?label=com.inngest%2Finngest-spring-boot-adapter)](https://central.sonatype.com/artifact/com.inngest/inngest-spring-boot-adapter)\n[![Discord](https://img.shields.io/discord/842170679536517141)](https://www.inngest.com/discord)\n\n[Inngest](https://www.inngest.com) SDK for Kotlin with Java interoperability.\n\n## Defining a function\n\n\u003cdetails open\u003e\n  \u003csummary\u003eKotlin\u003c/summary\u003e\n\n```kotlin\nclass TranscodeVideo : InngestFunction() {\n  override fun config(builder: InngestFunctionConfigBuilder): InngestFunctionConfigBuilder =\n    builder\n      .id(\"process-video\")\n      .name(\"Process video upload\")\n      .triggerEvent(\"media/video.uploaded\")\n      .retries(2)\n      .concurrency(10)\n\n  override fun execute(\n    ctx: FunctionContext,\n    step: Step,\n  ): HashMap\u003cString, Any\u003e {\n    val transcription =\n      step.run(\"transcribe-video\") {\n        // Download video, run through transcription model, return output\n        \"Hi there, My name is Jamie...\" // dummy example content\n      }\n\n    val summary =\n      step.run(\"summarize\") {\n        // Send t\n        \"Hi there, My name is Jamie...\" // dummy example content\n      }\n\n    step.run(\"save-results\") {\n      // Save summary, to your database\n      // database.save(event.data[\"videoId\"], transcription, summary)\n    }\n\n    return hashMapOf(\"restored\" to false)\n  }\n}\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eJava (Coming soon)\u003c/summary\u003e\n\u003c/details\u003e\n\n## Creating functions\n\nDefine your function's configuration using the `config` method and the `InngestFunctionConfigBuilder` class.\nThe `config` method must be overridden and an `id` is required. All options should are discoverable via\nthe builder class passed as the only argument to the `config` method.\n\n\u003cdetails open\u003e\n  \u003csummary\u003eKotlin\u003c/summary\u003e\n\n```kotlin\nimport java.time.Duration\n\nclass TranscodeVideo : InngestFunction() {\n  override fun config(builder: InngestFunctionConfigBuilder): InngestFunctionConfigBuilder =\n    builder\n      .id(\"process-video\")\n      .name(\"Process video upload\")\n      .triggerEvent(\"media/video.uploaded\")\n      .retries(2)\n      .batchEvents(50, Duration.ofSeconds(30))\n      .concurrency(10)\n}\n```\n\n\u003c/details\u003e\n\n## Sending events (_triggering functions_)\n\n\u003cdetails open\u003e\n  \u003csummary\u003eKotlin\u003c/summary\u003e\n\n```kotlin\nimport java.time.Duration\n\nclass TranscodeVideo : InngestFunction() {\n  override fun config(builder: InngestFunctionConfigBuilder): InngestFunctionConfigBuilder =\n    builder\n      .id(\"process-video\")\n      .name(\"Process video upload\")\n      .triggerEvent(\"media/video.uploaded\")\n      .batchEvents(50, Duration.ofSeconds(30))\n      .concurrency(10)\n}\n```\n\n\u003c/details\u003e\n\n## Contributing\n\n[See the contributing guide for more information](./CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finngest%2Finngest-kt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finngest%2Finngest-kt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finngest%2Finngest-kt/lists"}