Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support http to kafka proxy using openapi.yaml and asyncapi.yaml #742

Closed
jfallows opened this issue Jan 16, 2024 · 0 comments · Fixed by #810
Closed

Support http to kafka proxy using openapi.yaml and asyncapi.yaml #742

jfallows opened this issue Jan 16, 2024 · 0 comments · Fixed by #810
Assignees
Labels
story Feature description from user's perspective

Comments

@jfallows
Copy link
Contributor

jfallows commented Jan 16, 2024

Describe the desired outcome from the user's perspective
As an OpenAPI and AsyncAPI consumer, I want to configure zilla as http proxy to kafka using openapi.yaml and asyncapi.yaml more directly in zilla.yaml.

Acceptance criteria

  • openapi server binding configured via openapi.yaml
  • openapi-asyncapi proxy binding configured via openapi.yaml and asyncapi.yaml
  • asyncapi client binding configured via kafka asyncapi.yaml
  • only openapi server, openapi-asyncapi proxy, and asyncapi client bindings needed to configure http to kafka proxy

Additional context
Syntax similar to the following in zilla.yaml using composite bindings.

bindings:
  openapi_server:
    type: openapi
    kind: server
    options:
      specs:
        - http/openapi.yaml
    exit: openapi_asyncapi_proxy
  openapi_asyncapi_proxy:
    type: openapi-asyncapi
    kind: proxy
    options:
      specs:
        - http/openapi.yaml
        - kafka/asyncapi.yaml
    routes:
      - when:
          - operation: ... # openapi operation id
        exit: asyncapi_client
        with:
          operation: ... # kafka asyncapi operation id
  asyncapi_client:
    type: asyncapi
    kind: client
    options:
      specs:
        - kafka/asyncapi.yaml
@jfallows jfallows added the story Feature description from user's perspective label Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
story Feature description from user's perspective
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants