-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
79c69ed
commit 64c47b9
Showing
15 changed files
with
104 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
KAFKA_CONFLUENT_VERSION=7.6.0 | ||
KAFKA_CONFLUENT_VERSION=7.5.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# 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: [] |
This file was deleted.
Oops, something went wrong.
10 changes: 6 additions & 4 deletions
10
radar-gateway/src/integrationTest/kotlin/org/radarbase/gateway/resource/KafkaRootTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 5 additions & 1 deletion
6
radar-gateway/src/main/kotlin/org/radarbase/gateway/io/BinaryToAvroConverter.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
radar-gateway/src/test/kotlin/org/radarbase/gateway/io/BinaryToAvroConverterTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters