Skip to content

[Enhancement] Add Micronaut and Quarkus framework integration support #116

Description

@deepgram-robot

Summary

Add framework integration modules for Micronaut and Quarkus — the two fastest-growing Java frameworks for cloud-native applications. Each module should provide auto-configuration, dependency injection bindings, and framework-idiomatic client construction, so developers can use Deepgram with @Inject without manual setup.

Problem it solves

Java developers building microservices increasingly choose Micronaut or Quarkus over Spring Boot for their faster startup times and lower memory footprint — critical for serverless and containerized deployments. Currently, using the Deepgram Java SDK with these frameworks requires manual client construction and lifecycle management. Framework-native integration modules would let developers add a dependency, set deepgram.api-key in their config, and inject a ready-to-use client — the same zero-config experience that database drivers and HTTP clients provide in these frameworks.

Proposed API

// Micronaut — application.yml configuration
// deepgram:
//   api-key: ${DEEPGRAM_API_KEY}
//   model: nova-3

@Singleton
public class TranscriptionService {
    @Inject
    private DeepgramClient deepgram; // Auto-configured

    public String transcribe(byte[] audio) {
        return deepgram.listen().transcribeFile(audio).getTranscript();
    }
}

// Quarkus — application.properties configuration
// deepgram.api-key=${DEEPGRAM_API_KEY}

@ApplicationScoped
public class TranscriptionService {
    @Inject
    DeepgramClient deepgram; // CDI-managed

    public String transcribe(byte[] audio) {
        return deepgram.listen().transcribeFile(audio).getTranscript();
    }
}

Acceptance criteria

  • Micronaut module with @Factory-based auto-configuration
  • Quarkus extension with CDI producer for DeepgramClient
  • Configuration via framework-native property sources
  • Health check indicator for API connectivity
  • Documented with usage example for each framework
  • Compatible with existing SDK API (no breaking changes)

Raised by the DX intelligence system.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions