-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgateway.yml
More file actions
83 lines (80 loc) · 3.32 KB
/
gateway.yml
File metadata and controls
83 lines (80 loc) · 3.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Resource config class
#resourceConfig: org.radarbase.gateway.inject.ManagementPortalEnhancerFactory
server:
# URI to serve data to
baseUri: http://0.0.0.0:8090/radar-gateway/
# Maximum number of simultaneous requests to Kafka.
#maxRequests: 200
# Maximum request content length, also when decompressed.
# This protects against memory overflows.
#maxRequestSize: 25165824
# Whether JMX should be enabled. Disable if not needed, for higher performance.
#isJmxEnabled: true
kafka:
# Number of Kafka brokers to keep in a pool for reuse in multiple requests.
# poolSize: 20
# Kafka producer settings. Read from https://kafka.apache.org/documentation/#producerconfigs.
producer:
bootstrap.servers: kafka-1:9092
security.protocol: PLAINTEXT
# Kafka Admin Client settings. Read from https://kafka.apache.org/documentation/#adminclientconfigs.
#admin:
# bootstrap server property is copied from the producer settings if none is provided.
#bootstrap.servers: kafka-1:9092
# Kafka serialization settings, used in KafkaAvroSerializer. Read from [io.confluent.kafka.serializers.AbstractKafkaSchemaSerDeConfig].
serialization:
schema.registry.url: http://schema-registry:8081
# Authorization settings
auth:
# ManagementPortal URL. If available, this is used to read the public key from
# ManagementPortal directly. This is the recommended method of getting public key.
managementPortalUrl: http://managementportal:8080/managementportal
# Whether to check that the user that submits data has the reported source ID registered
# in the ManagementPortal.
#checkSourceId: true
# OAuth 2.0 resource name.
#resourceName: res_gateway
# OAuth 2.0 token issuer. If null, this is not checked.
#issuer: null
# Key store for checking the digital signature of OAuth 2.0 JWTs.
#keyStore:
# Path to the p12 key store.
#path: null
# Alias in the key store to use
#alias: null
# Password of the key store
#password: null
# Plain-text PEM public keys
#publicKeys:
# ECDSA public keys
#ecdsa: []
# RSA public keys
#rsa: []
# jwks URLs to fetch public keys from
#publicKeyUrls: []
# Storage settings for the application
storageCondition:
# Enables or disables file upload functionality in the application
fileUploadEnabled: true
# Specifies the type of storage used for storing uploaded files.
radarStorageType: s3
# Amazon S3 storage configurations
s3:
# The endpoint URL for the S3-compatible storage service.
# This can be a local MinIO server (e.g., http://localhost:9000) or AWS S3.
url: http://localhost:9000
# The access key used for authentication with the S3 storage.
accessKey: access-key
# The secret key used for authentication with the S3 storage.
secretKey: secret-key
# The name of the S3 bucket where files will be uploaded.
bucketName: radar
# specifies the region for the bucket
region: eu-west-2
# Path-related settings for organizing stored files.
path:
# A prefix to be added to the stored file paths (optional).
prefix:
# Determines whether files should be organized into daily subdirectories.
# If true, files will be stored in a structure like "bucketName/yyyy-MM-dd/".
collectPerDay: true