Comments (2)
Backends within a routing group should be interchangeable. Is there any reason this couldn't be solved by placing these clusters in different routing groups and implementing routing rules? E.g. something like
---
name: "password"
description: "send username/password here"
condition: 'request.getHeader("Authorization") contains "Basic"'
actions:
- 'result.put("routingGroup", "password")'
---
name: "kerberos"
description: "send kerberos here"
condition: 'request.getHeader("Authorization") contains "Negotiate"'
actions:
- 'result.put("routingGroup", "kerberos")'
Keep in mind Trino itself also allows specifying configuring authenticators in the same cluster
from trino-gateway.
@willmostly thank you for the response. apologies, suspect my description was unclear. the problem is not with different back-ends for the same cluster, but rather different clusters.
the problem is specific to the following section in the config:
backendState:
username: ${BACKEND_USER}
password: ${BACKEND_PASSWORD}
ssl: true
from my limited understanding, it expects the different clusters to be uniform with regards to users and even ssl. if that is the case, is there a way to resolve that? would one still be able to override the Authorization using routing rules?
from trino-gateway.
Related Issues (20)
- Support query search in web HOT 3
- Add query running/queued count in dashboard?
- Gateway query history for OIDC authentication doesn't provide the username
- Query distribution graph time is in UTC HOT 4
- Username in the filter box get reloaded
- Add connection pooling to Trino Gateway backend datastore HOT 1
- Separate loading of application configurations and secrets into more than one file HOT 2
- Open API spec for Gateway APIs HOT 4
- Unable to configure OAuth on Trino gateway HOT 6
- Move gateway related APIs under a dedicated path HOT 3
- Helm chart not available on any chart repository HOT 4
- Query History incorrectly treats source as a required field HOT 1
- Support declarative configuration for Trino backends
- Pass object instead of multiple strings to routingManager? HOT 5
- Test failed `Server configuration does not allow processing of the X-Forwarded-Proto header`
- Helm chart incompatible with Airlift config HOT 2
- The contents in `gateway-ha/src/main/resources/static` don't get updated during the build process.
- Remove usage of "backend" term
- Trino Gateway Routing Framework (WIP) HOT 2
- Release version 10 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trino-gateway.