mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-05-14 20:50:14 +08:00
add provision , remove kafka support
This commit is contained in:
@@ -44,7 +44,7 @@ maxkey.server.authz.uri =${maxkey.server.name}:${server.
|
||||
maxkey.server.frontend.uri =/maxkey
|
||||
#InMemory 0 , Redis 2
|
||||
maxkey.server.persistence =${SERVER_PERSISTENCE:0}
|
||||
#identity none, Kafka ,RocketMQ
|
||||
#identity none, provision
|
||||
maxkey.server.message.queue =${SERVER_MESSAGE_QUEUE:none}
|
||||
#issuer name
|
||||
maxkey.app.issuer =CN=ConSec,CN=COM,CN=SH
|
||||
@@ -150,44 +150,6 @@ spring.mail.properties.mailotp.message.template ={0} You Token is {1} , it valid
|
||||
spring.mail.properties.mailotp.message.type =html
|
||||
spring.mail.properties.mailotp.message.validity =300
|
||||
|
||||
############################################################################
|
||||
#Spring Session for Cluster configuration #
|
||||
############################################################################
|
||||
# Session store type.
|
||||
spring.session.store-type =none
|
||||
#spring.session.store-type=redis
|
||||
# Session timeout. If a duration suffix is not specified, seconds is used.
|
||||
#server.servlet.session.timeout=1800
|
||||
# Sessions flush mode.
|
||||
#spring.session.redis.flush-mode=on_save
|
||||
# Namespace for keys used to store sessions.
|
||||
#spring.session.redis.namespace=spring:session
|
||||
|
||||
############################################################################
|
||||
#Kafka for connectors configuration #
|
||||
############################################################################
|
||||
spring.kafka.bootstrap-servers =${KAFKA_SERVERS:localhost:9092}
|
||||
# retries
|
||||
spring.kafka.producer.retries =0
|
||||
# acks
|
||||
spring.kafka.producer.acks =1
|
||||
# batch-size
|
||||
spring.kafka.producer.batch-size =16384
|
||||
# linger.ms
|
||||
spring.kafka.producer.properties.linger.ms =0
|
||||
# buffer-memory
|
||||
spring.kafka.producer.buffer-memory =33554432
|
||||
# serializer
|
||||
spring.kafka.producer.key-serializer =org.apache.kafka.common.serialization.StringSerializer
|
||||
spring.kafka.producer.value-serializer =org.apache.kafka.common.serialization.StringSerializer
|
||||
# partitioner
|
||||
#spring.kafka.producer.properties.partitioner.class=com.felix.kafka.producer.CustomizePartitioner
|
||||
############################################################################
|
||||
#RocketMQ for connectors configuration #
|
||||
############################################################################
|
||||
rocketmq.name-server =${ROCKETMQ_SERVERS:localhost:9876}
|
||||
rocketmq.producer.enable =true
|
||||
rocketmq.producer.group =maxkey_identity
|
||||
############################################################################
|
||||
#Time-based One-Time Password configuration #
|
||||
############################################################################
|
||||
|
||||
@@ -43,6 +43,7 @@ import org.springframework.context.annotation.ComponentScan;
|
||||
"org.maxkey.identity.rest",
|
||||
"org.maxkey.identity.scim.controller",
|
||||
"org.maxkey.persistence",
|
||||
"org.maxkey.provision",
|
||||
"org.maxkey.synchronizer",
|
||||
"org.maxkey.web",
|
||||
"org.maxkey.web.access.contorller",
|
||||
|
||||
@@ -33,7 +33,7 @@ maxkey.server.mgt.uri =${maxkey.server.uri}
|
||||
maxkey.server.authz.uri =https://${maxkey.server.domain}/maxkey
|
||||
#InMemory 0 , Redis 2
|
||||
maxkey.server.persistence =0
|
||||
#identity none, Kafka ,RocketMQ
|
||||
#identity none, provision
|
||||
maxkey.server.message.queue =${SERVER_MESSAGE_QUEUE:none}
|
||||
|
||||
maxkey.session.timeout =${SERVER_SESSION_TIMEOUT:1800}
|
||||
@@ -124,44 +124,6 @@ spring.mail.properties.mailotp.message.template ={0} You Token is {1} , it valid
|
||||
spring.mail.properties.mailotp.message.type =html
|
||||
spring.mail.properties.mailotp.message.validity =300
|
||||
|
||||
############################################################################
|
||||
#Spring Session for Cluster configuration #
|
||||
############################################################################
|
||||
# Session store type.
|
||||
spring.session.store-type =none
|
||||
#spring.session.store-type=redis
|
||||
# Session timeout. If a duration suffix is not specified, seconds is used.
|
||||
#server.servlet.session.timeout=1800
|
||||
# Sessions flush mode.
|
||||
#spring.session.redis.flush-mode=on_save
|
||||
# Namespace for keys used to store sessions.
|
||||
#spring.session.redis.namespace=spring:session
|
||||
|
||||
############################################################################
|
||||
#Kafka for connectors configuration #
|
||||
############################################################################
|
||||
spring.kafka.bootstrap-servers =${KAFKA_SERVERS:localhost:9092}
|
||||
# retries
|
||||
spring.kafka.producer.retries =0
|
||||
# acks
|
||||
spring.kafka.producer.acks =1
|
||||
# batch-size
|
||||
spring.kafka.producer.batch-size =16384
|
||||
# linger.ms
|
||||
spring.kafka.producer.properties.linger.ms =0
|
||||
# buffer-memory
|
||||
spring.kafka.producer.buffer-memory =33554432
|
||||
# serializer
|
||||
spring.kafka.producer.key-serializer =org.apache.kafka.common.serialization.StringSerializer
|
||||
spring.kafka.producer.value-serializer =org.apache.kafka.common.serialization.StringSerializer
|
||||
# partitioner
|
||||
#spring.kafka.producer.properties.partitioner.class=com.felix.kafka.producer.CustomizePartitioner
|
||||
############################################################################
|
||||
#RocketMQ for connectors configuration #
|
||||
############################################################################
|
||||
rocketmq.name-server =${ROCKETMQ_SERVERS:localhost:9876}
|
||||
rocketmq.producer.enable =true
|
||||
rocketmq.producer.group =maxkey_identity
|
||||
############################################################################
|
||||
#Time-based One-Time Password configuration #
|
||||
############################################################################
|
||||
|
||||
Reference in New Issue
Block a user