ghts.jikkou-api-server.0.31.0.source-code.application.yaml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jikkou-api-server Show documentation
Show all versions of jikkou-api-server Show documentation
REST API interface for Jikkou
# Copyright 2023 The original authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
micronaut:
application:
name: jikkou-rest-server
server:
# Use -1 to run on a random port
port: 28082
# security:
# enabled: true
# # Token based authentication configuration
# authentication: bearer
# token:
# enabled: false
# jwt:
# signatures:
# secret:
# generator:
# secret: '"${JWT_GENERATOR_SIGNATURE_SECRET:pleaseChangeThisSecretForANewOne}"'
# Endpoints configuration
endpoints:
all:
port: 28082
sensitive: false
enabled: false
health:
enabled: true
details-visible: ANONYMOUS
# Disable built-in health indicators
discovery-client.enabled: false
disk-space.enabled: false
# Enable Jikkou Health indicators.
jikkou:
enabled: true
timeout-ms: 5000
# Jikkou API Configurations
jikkou:
# security:
# basic-auth:
# - username: "admin"
# password: "{noop}admin"
extensions.provider:
# By default, disable all extensions
default.enabled: false
# Explicitly enabled/disable extensions
#.enabled:
core.enabled: true
kafka.enabled: true
kafka:
client:
bootstrap.servers: localhost:9092
schemaRegistry:
url: http://localhost:8081
# The default custom transformations to apply on any resources.
transformations: [ ]
# The default custom validations to apply on any resources.
validations:
- name: "topicMustHaveValidName"
type: io.streamthoughts.jikkou.kafka.validation.TopicNameRegexValidation
priority: 100
config:
topicNameRegex: "[a-zA-Z0-9\\._\\-]+"
- name: "topicMustHavePartitionsEqualsOrGreaterThanOne"
type: io.streamthoughts.jikkou.kafka.validation.TopicMinNumPartitionsValidation
priority: 100
config:
topicMinNumPartitions: 1
- name: "topicMustHaveReplicasEqualsOrGreaterThanOne"
type: io.streamthoughts.jikkou.kafka.validation.TopicMinReplicationFactorValidation
priority: 100
config:
topicMinReplicationFactor: 1
# The default custom reporters to report applied changes.
reporters: [ ]
© 2015 - 2024 Weber Informatics LLC | Privacy Policy