Go to file
2023-01-25 14:03:37 +03:00
cmd/proxy Initial commit 2023-01-25 14:03:37 +03:00
pkg Initial commit 2023-01-25 14:03:37 +03:00
.gitignore Initial commit 2023-01-25 14:03:37 +03:00
go.mod Initial commit 2023-01-25 14:03:37 +03:00
go.sum Initial commit 2023-01-25 14:03:37 +03:00
LICENSE Initial commit 2023-01-25 14:03:37 +03:00
README.md Initial commit 2023-01-25 14:03:37 +03:00

Proxy

Info

Proxy listen on URL: http://${address}/proxy

Flink's module.yaml example:

kind: io.statefun.endpoints.v2/http
spec:
  functions: proxy/*
  urlPathTemplate: http://${address}/proxy
  maxNumBatchRequests: 1
  transport:
    type: io.statefun.transports.v1/async
    connect: 5s
    call: 600s
    payload_max_bytes: 52428800

Run

Environment variables

Variable Default Description
STATEFUN_PROXY_DEBUG "" Debug log level