Support DAPR_HTTP_ENDPOINT and/or DAPR_GRPC_ENDPOINT
- Lingua principale
- Makefile
- Stelle
- 38
- Fork
- 16
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
## Describe the proposal
Allow consistent way to configure endpoint for Dapr's sidecar, while enabling remote sidecar configuration.
Child of https://github.com/dapr/dapr/issues/6035
SDK should parse these in a consistent way, so operators have a consistent environment variable to set for Dapr apps. Right now, each SDK has their own way of configuring the endpoint for Dapr's sidecar.
If SDK allows gRPC communication from SDK to sidecar, then `DAPR_GRPC_ENDPOINT` must be supported.
If SDK allows HTTP communication from SDK to sidecar, then `DAPR_HTTP_ENDPOINT` must be supported.
DAPR_HTTP_ENDPOINT and DAPR_GRPC_ENDPOINT and not exclusive, meaning it is acceptable to support both, like in the Java SDK, if the SDK supports both protocols.
Also, companies might decide to offer different endpoints per protocol, so there is not an unique environment variable for both.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Nell’issue non sono nominati file o test. Inizia ispezionando la configurazione esistente dell’endpoint sidecar dell’C++ SDK e i relativi punti di ingresso HTTP e gRPC, quindi traccia il modo in cui vengono lette le variabili d’ambiente. Il lavoro è completato quando le variabili supportate specifiche del protocollo configurano l’endpoint sidecar corrispondente, inclusi valori separati per HTTP e gRPC quando entrambi sono disponibili.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cpp
- Ambito
- api
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 25/100