#  Licensed to the Apache Software Foundation (ASF) under one
#  or more contributor license agreements.  See the NOTICE file
#  distributed with this work for additional information
#  regarding copyright ownership.  The ASF licenses this file
#  to you 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.

#
## start generic redis config parameters
# endpoints
redis.RedisEndpoints=host1.com:6379,host2.com:6379
# in milliseconds
redis.RedisConnectTimeout=20000
# in milliseconds
redis.RedisRetryDelay=5000000
## end generic redis config parameters

## start pub config settings
pubconfig.PubNumWorkers=5
pubconfig.PubRedisPublishTries=3
pubconfig.PubRedisConnectTries=3
pubconfig.PubMaxQueuedMessages=10000
pubconfig.PubColoChannelId=sja
## end pub config settings

## start subconfig settings
subconfig.SubColoChannel=sja.*
## end subconfig settings

#############################################################
# This config file contains the starting values for the
#  ATS plugin ats_ssl_session_reuse.
#  Upon pkg install, settings may have been derived from yinst settings
#############################################################
## start ssl_session settings
ssl_session.ClusterName=sja

#############################################################
# session-ticket-encryption-key (STEK) configs
# KeyUpdateInterval (in seconds)
#  Specifies frequency of STEK rotation in POD, if I am STEK Master
#  maximum is 86400 (24 hours),  default is 25200 (7 hours)

ssl_session.KeyUpdateInterval=25200

# STEKMaster= 1 (This instance will start as the STEK Master, initiating rotation)
#          or 0 (start as STEK slave)
ssl_session.STEKMaster=0

ssl_session.redis_auth_key_file=/path/to/key/file

## end ssl_session settings
