tyk_sink.conf
file, this file resides in /opt/tyk-sink
on most systems, but can also live anywhere and be directly targeted with the -c
flag.
Application | Port |
---|---|
MongoDB | 27017 |
Redis | 6379 |
Tyk Dashboard | |
Developer Portal | 3000 |
Admin Dashboard | 3000 |
Admin Dashboard API | 3000 |
Tyk Gateway | |
Management API | 8080 |
MDCB | |
RPC services | 9090 |
HTTP endpoints | 8181 |
int
int
http_port
instead.
int
int
security.enable_http_secure_endpoints
must be enabled).enable_http_profiler
must be enabled).bool
bool
string
string
uint16
min_version
setting should be the minimum TLS protocol version required from the client.[]string
[]string
bool
string
string
uint16
min_version
setting should be the minimum TLS protocol version required from the client.[]string
[]string
string
server_options.use_ssl
to true. See Mutual TLS for more details.
bool
EnableHTTPSecureEndpoints
controls the availability of HTTP endpoints for monitoring and debugging MDCB. These endpoints provide critical system information and are disabled by default for security reasons. Access to these endpoints requires a secret, defined in the security.secret
configuration field.
Available endpoints include:
string
X-Tyk-Authorization
header in requests to these endpoints. Tyk assumes that you are sensible enough not to expose the management endpoints publicly and to keep this configuration value to yourself.
string
string
int
string
string
string
string
int
storage.redis_cluster:true
, then this value should be omitted or explicitly set to 0.
int
max_idle
value to something large, we usually leave it at around 2000 for HA deployments.
int
bool
map[string]string
{
"server1": "6379",
"server2": "6380",
"server3": "6381"
}
[]string
bool
use_ssl
instead.
bool
ssl_insecure_skip_verify
instead.
int
bool
bool
string
string
string
string
string
DBType
mongo
, postgres
or sqlite
. By default, the value is mongo
.
string
bool
int
bool
uint
bool
bool
bool
change
when rename column, rename column not supported before MySQL 8, MariaDB
bool
string
bool
bool
bool
string
string
string
Strong
. The valid values are:
int
string
mongo-go
to use the official mongo driver. Alternatively, use mgo
to use the old driver.
Since v2.4.3, the default driver is mongo-go
.
bool
bool
int64
bool
bool
forward_analytics_to_pump
is true and tyk-pump is v1.2.1+ .
bool
bool
int
int
string
bool
track_all_paths
is enabled, it will store analytics for all the endpoints, irrespective of Track Endpoint plugin.
bool
[]string
int
threshold_len_tag_list
, pump will throw a warning, it works for mongo aggregate pump. The warning will print top 5 common tag prefix. Default value is 1000. To disable alerts set it to -1.
bool
bool
forward_analytics_to_pump
is true, it will forward the analytics to the separated storage specified in analytics_storage
.
storage
. It requires enable_separate_analytics_store
set to true.
string
string
int
string
string
string
string
int
storage.redis_cluster:true
, then this value should be omitted or explicitly set to 0.
int
max_idle
value to something large, we usually leave it at around 2000 for HA deployments.
int
bool
map[string]string
{
"server1": "6379",
"server2": "6380",
"server3": "6381"
}
[]string
bool
use_ssl
instead.
bool
ssl_insecure_skip_verify
instead.
int
bool
bool
string
string
string
string
string
string
info
.
bool
bool
bool
hash_keys
is true in dashboard and gateway configuration.
int
int
int
int
int
bool
slave_options.api_key
that is used to connect to MDCB (defined in tyk.config
of the gateway).
This will be enforced if enable_ownership
is also enabled in the Dashboard and your API definition has been associated with a user or user_group
Defaults to false
.