kafkamanager.kafka-manager-ui.3.0.10.source-code.application-google.yaml Maven / Gradle / Ivy
# in google page "client id for web application" you should use redirect url https:///kafka-manager/login/oauth2/code/google
GOOGLE_CLIENT_ID: kafka-manager-client-id # google client id
GOOGLE_CLIENT_SECRET: # google client secret
SERVER_PORT: 8085 # tomcat server port
KAFKA_SERVERS_URL: localhost:9095 # kafka bootstrap server url
SCHEMA_REGISTRY_URL: http://schema-registry:8081 # schema-registry url (optional)
ZK_CONNECT: http://zookepper # Zookeeper url (Optional)
server:
port: ${SERVER_PORT}
servlet:
context-path: /kafka-manager
max-http-request-header-size: 10000
tomcat:
remote-ip-header: x-forwarded-for
protocol-header: x-forwarded-proto
connection-timeout: 300000
forward-headers-strategy: framework
# auth profiles: auth-disabled
spring:
profiles:
active: auth-disabled
main:
allow-bean-definition-overriding: true
allow-circular-references: true
mvc:
hiddenmethod:
filter.enabled: true
async:
request-timeout: 300000
pathmatch:
matching-strategy: ANT_PATH_MATCHER
security:
oauth2:
client:
registration:
google:
client-id: ${KEYCLOAK_CLIENT_ID}
client-secret: ${KEYCLOAK_CLIENT_SECRET}
management:
metrics:
export:
prometheus: true
endpoints:
web:
exposure:
include: info,health,metrics,prometheus
eco:
kafkamanager:
core:
bootstrapServers: ${KAFKA_SERVERS_URL}
zkConnect: ${ZK_CONNECT:}
schemaRegistryUrl: ${SCHEMA_REGISTRY_URL}
metadataStoreBootstrapTimeoutInMs: ${METADATA_BOOTSTRAP_TIMEOUT_MS:180000}
transactionStoreBootstrapTimeoutInMs: ${TX_BOOTSTRAP_TIMEOUT_MS:180000}
transactionStoreBootstrapDataFreshness: ${TX_BOOTSTRAP_DATA_FRESHNESS:ONE_HOUR}
clientConfig[fetch.max.wait.ms]: 1500
clientConfig[fetch.min.bytes]: 20
clientConfig[max.poll.records]: 1000
clientConfig[security.protocol]: "SASL_SSL"
clientConfig[ssl.truststore.location]: "c://truststore.jks"
clientConfig[ssl.truststore.password]: ""
clientConfig[sasl.mechanism]: "GSSAPI"
clientConfig[sasl.kerberos.service.name]: ""
clientConfig[sasl.jaas.config]: "com.sun.security.auth.module.Krb5LoginModule required \
useKeyTab=true \
principal='' \
keyTab='c:////kafka-manager.keytab' \
storeKey=true;"
zkClientConfig[zookeeper.clientCnxnSocket]: org.apache.zookeeper.ClientCnxnSocketNetty
zkClientConfig[zookeeper.client.secure]: true
zkClientConfig[zookeeper.ssl.client.enable]: true
zkClientConfig[zookeeper.ssl.trustStore.location]: "c://truststore.jks"
zkClientConfig[zookeeper.ssl.trustStore.password]: ""
udmetrics:
enabled: ${UDM_ENABLED:false}
calculationIntervalInMs: ${UDM_CALCULATION_INTERVAL:60000}
config:
repo:
kafka:
bootstrapTimeoutInMs: ${UDM_BOOTSTRAP_TIMEOUT_MS:60000}
ui:
topicBrowser:
# Used only in case of a small topics! This enables topic caching
useCache: false
cacheExpirationPeriodMin: 60
# showGrid: Enable/disable grid lines in a topic browser
showGrid: true
# enableAnimation: Enable colored animation in offset grid in a topic browser.
# blinking only topics which KM had been searched
# other topics stayed gray
enableAnimation: true
# replacementPatterns: KM look for this pattern in every field.
# In case of finding KM shields all pseudo symbols. in this field.
replacementPatterns: