blob: e90702fdb908bc0033f7d723ab5a3ceec6b43701 [file] [log] [blame]
#
# 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.
#
spring:
datasource:
url: jdbc:h2:mem:job_event_storage
driver-class-name: org.h2.Driver
username: sa
password:
elasticjob:
tracing:
type: RDB
regCenter:
serverLists: localhost:18181
namespace: elasticjob-lite-spring-boot-starter
jobs:
customTestJob:
elasticJobClass: org.apache.shardingsphere.elasticjob.lite.spring.boot.job.fixture.job.impl.CustomTestJob
jobBootstrapBeanName: customTestJobBean
shardingTotalCount: 3
jobListenerTypes:
- NOOP
- LOG
printTestJob:
elasticJobType: PRINT
jobBootstrapBeanName: printTestJobBean
shardingTotalCount: 3
props:
print.content: "test print job"
defaultBeanNameClassJob:
cron: 0/5 * * * * ?
elasticJobClass: org.apache.shardingsphere.elasticjob.lite.spring.boot.job.fixture.job.impl.CustomTestJob
shardingTotalCount: 3
defaultBeanNameTypeJob:
cron: 0/5 * * * * ?
elasticJobType: PRINT
shardingTotalCount: 3
props:
print.content: "test print job"