高并发架构实践指南——应用程序演示(部署)

按需部署多个服务实例,构建微服务集群。

打包

xuej@dev-server:~/Documents/sts4/microservice-standardexpress-shiponlineorder$ mvn clean package -DskipTests=true
[INFO] Scanning for projects...
[INFO] 
[INFO] -----------< tech.foolfish:standardexpress-shiponlineorder >------------
[INFO] Building microservice-standardexpress-shiponlineorder 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ standardexpress-shiponlineorder ---
[INFO] Deleting /home/xuej/Documents/sts4/microservice-standardexpress-shiponlineorder/target
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (default-resources) @ standardexpress-shiponlineorder ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ standardexpress-shiponlineorder ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ standardexpress-shiponlineorder ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 27 source files to /home/xuej/Documents/sts4/microservice-standardexpress-shiponlineorder/target/classes
[INFO] MapStruct: Using accessor naming strategy: org.mapstruct.ap.spi.DefaultAccessorNamingStrategy
[INFO] MapStruct: Using builder provider: org.mapstruct.ap.spi.DefaultBuilderProvider
[INFO] MapStruct: Using enum naming strategy: org.mapstruct.ap.spi.DefaultEnumMappingStrategy
[INFO]  MapStruct: processing: tech.foolfish.standardexpress.business.ShiponlineOrderConverter.
[INFO] - MapStruct: creating bean mapping method implementation for tech.foolfish.standardexpress.business.model.ShiponlineOrderDTO toDTO(tech.foolfish.standardexpress.persistence.model.ShiponlineOrderDO oneDO).
[INFO] -- MapStruct: mapping property: oneDO.getCreateTime() to: setCreateTime(java.time.LocalDateTime).
[INFO] -- MapStruct: selecting property mapping: oneDO.getCreateTime().
[INFO] -- MapStruct: mapping property: oneDO.getUpdateTime() to: setUpdateTime(java.time.LocalDateTime).
[INFO] -- MapStruct: selecting property mapping: oneDO.getUpdateTime().
[INFO] -- MapStruct: mapping property: oneDO.getOrderId() to: setOrderId(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDO.getOrderId().
[INFO] -- MapStruct: mapping property: oneDO.getShipperId() to: setShipperId(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDO.getShipperId().
[INFO] -- MapStruct: mapping property: oneDO.getShipperName() to: setShipperName(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDO.getShipperName().
[INFO] -- MapStruct: mapping property: oneDO.getShipperMobileNo() to: setShipperMobileNo(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDO.getShipperMobileNo().
[INFO] -- MapStruct: mapping property: oneDO.getShipperCountry() to: setShipperCountry(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDO.getShipperCountry().
[INFO] -- MapStruct: mapping property: oneDO.getShipperProvince() to: setShipperProvince(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDO.getShipperProvince().
[INFO] -- MapStruct: mapping property: oneDO.getShipperCity() to: setShipperCity(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDO.getShipperCity().
[INFO] -- MapStruct: mapping property: oneDO.getShipperCounty() to: setShipperCounty(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDO.getShipperCounty().
[INFO] -- MapStruct: mapping property: oneDO.getShipperAddress() to: setShipperAddress(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDO.getShipperAddress().
[INFO] -- MapStruct: mapping property: oneDO.getReceiverId() to: setReceiverId(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDO.getReceiverId().
[INFO] -- MapStruct: mapping property: oneDO.getReceiverName() to: setReceiverName(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDO.getReceiverName().
[INFO] -- MapStruct: mapping property: oneDO.getReceiverMobileNo() to: setReceiverMobileNo(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDO.getReceiverMobileNo().
[INFO] -- MapStruct: mapping property: oneDO.getReceiverCountry() to: setReceiverCountry(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDO.getReceiverCountry().
[INFO] -- MapStruct: mapping property: oneDO.getReceiverProvince() to: setReceiverProvince(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDO.getReceiverProvince().
[INFO] -- MapStruct: mapping property: oneDO.getReceiverCity() to: setReceiverCity(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDO.getReceiverCity().
[INFO] -- MapStruct: mapping property: oneDO.getReceiverCounty() to: setReceiverCounty(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDO.getReceiverCounty().
[INFO] -- MapStruct: mapping property: oneDO.getReceiverAddress() to: setReceiverAddress(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDO.getReceiverAddress().
[INFO] -- MapStruct: mapping property: oneDO.getParcelType() to: setParcelType(java.lang.Integer).
[INFO] -- MapStruct: selecting property mapping: oneDO.getParcelType().
[INFO] -- MapStruct: mapping property: oneDO.getParcelName() to: setParcelName(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDO.getParcelName().
[INFO] -- MapStruct: mapping property: oneDO.getParcelPieces() to: setParcelPieces(java.lang.Integer).
[INFO] -- MapStruct: selecting property mapping: oneDO.getParcelPieces().
[INFO] -- MapStruct: mapping property: oneDO.getParcelWeight() to: setParcelWeight(java.lang.Integer).
[INFO] -- MapStruct: selecting property mapping: oneDO.getParcelWeight().
[INFO] -- MapStruct: mapping property: oneDO.getPayMethod() to: setPayMethod(java.lang.Integer).
[INFO] -- MapStruct: selecting property mapping: oneDO.getPayMethod().
[INFO] -- MapStruct: mapping property: oneDO.getInsuranceAmount() to: setInsuranceAmount(java.lang.Integer).
[INFO] -- MapStruct: selecting property mapping: oneDO.getInsuranceAmount().
[INFO] -- MapStruct: mapping property: oneDO.getIsPrivacyWaybill() to: setIsPrivacyWaybill(java.lang.Boolean).
[INFO] -- MapStruct: selecting property mapping: oneDO.getIsPrivacyWaybill().
[INFO] -- MapStruct: mapping property: oneDO.getLeavemessage() to: setLeavemessage(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDO.getLeavemessage().
[INFO] -- MapStruct: mapping property: oneDO.getEstimatedFreight() to: setEstimatedFreight(java.math.BigDecimal).
[INFO] -- MapStruct: selecting property mapping: oneDO.getEstimatedFreight().
[INFO] -- MapStruct: mapping property: oneDO.getInsuranceFee() to: setInsuranceFee(java.lang.Integer).
[INFO] -- MapStruct: selecting property mapping: oneDO.getInsuranceFee().
[INFO] -- MapStruct: mapping property: oneDO.getEstimatedCost() to: setEstimatedCost(java.math.BigDecimal).
[INFO] -- MapStruct: selecting property mapping: oneDO.getEstimatedCost().
[INFO] - MapStruct: creating iterable mapping method implementation for java.util.List<tech.foolfish.standardexpress.business.model.ShiponlineOrderDTO> toDTOs(java.util.List<tech.foolfish.standardexpress.persistence.model.ShiponlineOrderDO> manyDOs).
[INFO] -- MapStruct: selecting element mapping: tech.foolfish.standardexpress.business.model.ShiponlineOrderDTO #toDTO(shiponlineOrderDO).
[INFO] - MapStruct: creating bean mapping method implementation for tech.foolfish.standardexpress.persistence.model.ShiponlineOrderDO toDO(tech.foolfish.standardexpress.business.model.ShiponlineOrderDTO oneDTO).
[INFO] -- MapStruct: mapping property: oneDTO.getShipperId() to: setShipperId(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getShipperId().
[INFO] -- MapStruct: mapping property: oneDTO.getOrderId() to: setOrderId(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getOrderId().
[INFO] -- MapStruct: mapping property: oneDTO.getCreateTime() to: setCreateTime(java.time.LocalDateTime).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getCreateTime().
[INFO] -- MapStruct: mapping property: oneDTO.getUpdateTime() to: setUpdateTime(java.time.LocalDateTime).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getUpdateTime().
[INFO] -- MapStruct: mapping property: oneDTO.getShipperName() to: setShipperName(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getShipperName().
[INFO] -- MapStruct: mapping property: oneDTO.getShipperMobileNo() to: setShipperMobileNo(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getShipperMobileNo().
[INFO] -- MapStruct: mapping property: oneDTO.getShipperCountry() to: setShipperCountry(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getShipperCountry().
[INFO] -- MapStruct: mapping property: oneDTO.getShipperProvince() to: setShipperProvince(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getShipperProvince().
[INFO] -- MapStruct: mapping property: oneDTO.getShipperCity() to: setShipperCity(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getShipperCity().
[INFO] -- MapStruct: mapping property: oneDTO.getShipperCounty() to: setShipperCounty(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getShipperCounty().
[INFO] -- MapStruct: mapping property: oneDTO.getShipperAddress() to: setShipperAddress(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getShipperAddress().
[INFO] -- MapStruct: mapping property: oneDTO.getReceiverId() to: setReceiverId(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getReceiverId().
[INFO] -- MapStruct: mapping property: oneDTO.getReceiverName() to: setReceiverName(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getReceiverName().
[INFO] -- MapStruct: mapping property: oneDTO.getReceiverMobileNo() to: setReceiverMobileNo(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getReceiverMobileNo().
[INFO] -- MapStruct: mapping property: oneDTO.getReceiverCountry() to: setReceiverCountry(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getReceiverCountry().
[INFO] -- MapStruct: mapping property: oneDTO.getReceiverProvince() to: setReceiverProvince(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getReceiverProvince().
[INFO] -- MapStruct: mapping property: oneDTO.getReceiverCity() to: setReceiverCity(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getReceiverCity().
[INFO] -- MapStruct: mapping property: oneDTO.getReceiverCounty() to: setReceiverCounty(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getReceiverCounty().
[INFO] -- MapStruct: mapping property: oneDTO.getReceiverAddress() to: setReceiverAddress(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getReceiverAddress().
[INFO] -- MapStruct: mapping property: oneDTO.getParcelType() to: setParcelType(java.lang.Integer).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getParcelType().
[INFO] -- MapStruct: mapping property: oneDTO.getParcelName() to: setParcelName(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getParcelName().
[INFO] -- MapStruct: mapping property: oneDTO.getParcelPieces() to: setParcelPieces(java.lang.Integer).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getParcelPieces().
[INFO] -- MapStruct: mapping property: oneDTO.getParcelWeight() to: setParcelWeight(java.lang.Integer).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getParcelWeight().
[INFO] -- MapStruct: mapping property: oneDTO.getPayMethod() to: setPayMethod(java.lang.Integer).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getPayMethod().
[INFO] -- MapStruct: mapping property: oneDTO.getInsuranceAmount() to: setInsuranceAmount(java.lang.Integer).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getInsuranceAmount().
[INFO] -- MapStruct: mapping property: oneDTO.getIsPrivacyWaybill() to: setIsPrivacyWaybill(java.lang.Boolean).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getIsPrivacyWaybill().
[INFO] -- MapStruct: mapping property: oneDTO.getLeavemessage() to: setLeavemessage(java.lang.String).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getLeavemessage().
[INFO] -- MapStruct: mapping property: oneDTO.getEstimatedFreight() to: setEstimatedFreight(java.math.BigDecimal).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getEstimatedFreight().
[INFO] -- MapStruct: mapping property: oneDTO.getInsuranceFee() to: setInsuranceFee(java.lang.Integer).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getInsuranceFee().
[INFO] -- MapStruct: mapping property: oneDTO.getEstimatedCost() to: setEstimatedCost(java.math.BigDecimal).
[INFO] -- MapStruct: selecting property mapping: oneDTO.getEstimatedCost().
[WARNING] /home/xuej/Documents/sts4/microservice-standardexpress-shiponlineorder/src/main/java/tech/foolfish/standardexpress/business/ShiponlineOrderConverter.java:[20,27] Unmapped target properties: "withShipperId, withOrderId, withCreateTime, withUpdateTime, withShipperName, withShipperMobileNo, withShipperCountry, withShipperProvince, withShipperCity, withShipperCounty, withShipperAddress, withReceiverId, withReceiverName, withReceiverMobileNo, withReceiverCountry, withReceiverProvince, withReceiverCity, withReceiverCounty, withReceiverAddress, withParcelType, withParcelName, withParcelPieces, withParcelWeight, withPayMethod, withInsuranceAmount, withIsPrivacyWaybill, withLeavemessage, withEstimatedFreight, withInsuranceFee, withEstimatedCost".
[INFO] - MapStruct: creating iterable mapping method implementation for java.util.List<tech.foolfish.standardexpress.persistence.model.ShiponlineOrderDO> toDOs(java.util.List<tech.foolfish.standardexpress.business.model.ShiponlineOrderDTO> manyDTOs).
[INFO] -- MapStruct: selecting element mapping: tech.foolfish.standardexpress.persistence.model.ShiponlineOrderDO #toDO(shiponlineOrderDTO).
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ standardexpress-shiponlineorder ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/xuej/Documents/sts4/microservice-standardexpress-shiponlineorder/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ standardexpress-shiponlineorder ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /home/xuej/Documents/sts4/microservice-standardexpress-shiponlineorder/target/test-classes
[WARNING] The following options were not recognized by any processor: '[mapstruct.verbose, mapstruct.suppressGeneratorVersionInfoComment, mapstruct.defaultComponentModel, mapstruct.suppressGeneratorTimestamp]'
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ standardexpress-shiponlineorder ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ standardexpress-shiponlineorder ---
[INFO] Building jar: /home/xuej/Documents/sts4/microservice-standardexpress-shiponlineorder/target/microservice-standardexpress-shiponlineorder.jar
[INFO] 
[INFO] --- spring-boot-maven-plugin:2.3.12.RELEASE:repackage (repackage) @ standardexpress-shiponlineorder ---
[INFO] Replacing main artifact with repackaged archive
[INFO] 
[INFO] --- spring-boot-maven-plugin:2.3.12.RELEASE:repackage (default) @ standardexpress-shiponlineorder ---
[INFO] Replacing main artifact with repackaged archive
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  9.813 s
[INFO] Finished at: 2022-08-02T02:46:37+08:00
[INFO] ------------------------------------------------------------------------

启动服务

xuej@dev-server:~/Documents/sts4/microservice-standardexpress-shiponlineorder$ java -jar target/microservice-standardexpress-shiponlineorder.jar 

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::       (v2.3.12.RELEASE)

2022-08-02 02:46:45.092  INFO 3822 --- [           main] t.f.s.ShiponlineOrderApplication         : No active profile set, falling back to default profiles: default
2022-08-02 02:46:46.994  WARN 3822 --- [           main] o.s.boot.actuate.endpoint.EndpointId     : Endpoint ID 'service-registry' contains invalid characters, please migrate to a valid format.
2022-08-02 02:46:47.300  INFO 3822 --- [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=8dea6303-0095-3076-920c-83978a4fd44b
2022-08-02 02:46:47.412  INFO 3822 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'stringToNoneShardingStrategyConfigurationConverter' of type [org.apache.shardingsphere.spring.boot.converter.StringToNoneShardingStrategyConfigurationConverter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-08-02 02:46:47.421  INFO 3822 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.shardingsphere-org.apache.shardingsphere.spring.boot.prop.SpringBootPropertiesConfiguration' of type [org.apache.shardingsphere.spring.boot.prop.SpringBootPropertiesConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-08-02 02:46:48.355  INFO 3822 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.shardingsphere.spring.boot.ShardingSphereAutoConfiguration' of type [org.apache.shardingsphere.spring.boot.ShardingSphereAutoConfiguration$$EnhancerBySpringCGLIB$$7a82efa6] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-08-02 02:46:48.898  INFO 3822 --- [           main] org.eclipse.jetty.util.log               : Logging initialized @6567ms to org.eclipse.jetty.util.log.Slf4jLog
2022-08-02 02:46:49.061  INFO 3822 --- [           main] o.s.b.w.e.j.JettyServletWebServerFactory : Server initialized with port: 38754
2022-08-02 02:46:49.065  INFO 3822 --- [           main] org.eclipse.jetty.server.Server          : jetty-9.4.42.v20210604; built: 2021-06-04T17:33:38.939Z; git: 5cd5e6d2375eeab146813b0de9f19eda6ab6e6cb; jvm 11.0.11+9
2022-08-02 02:46:49.120  INFO 3822 --- [           main] o.e.j.s.h.ContextHandler.application     : Initializing Spring embedded WebApplicationContext
2022-08-02 02:46:49.121  INFO 3822 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 3990 ms
2022-08-02 02:46:49.334  WARN 3822 --- [           main] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.
2022-08-02 02:46:49.334  INFO 3822 --- [           main] c.n.c.sources.URLConfigurationSource     : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2022-08-02 02:46:49.364  INFO 3822 --- [           main] c.netflix.config.DynamicPropertyFactory  : DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@221dad51
2022-08-02 02:46:49.618  INFO 3822 --- [           main] org.eclipse.jetty.server.session         : DefaultSessionIdManager workerName=node0
2022-08-02 02:46:49.618  INFO 3822 --- [           main] org.eclipse.jetty.server.session         : No SessionScavenger set, using defaults
2022-08-02 02:46:49.620  INFO 3822 --- [           main] org.eclipse.jetty.server.session         : node0 Scavenging every 600000ms
2022-08-02 02:46:49.632  INFO 3822 --- [           main] o.e.jetty.server.handler.ContextHandler  : Started o.s.b.w.e.j.JettyEmbeddedWebAppContext@4d3ca6c7{application,/,[file:///tmp/jetty-docbase.38754.15458292403833356167/, jar:file:/home/xuej/Documents/sts4/microservice-standardexpress-shiponlineorder/target/microservice-standardexpress-shiponlineorder.jar!/BOOT-INF/lib/springfox-swagger-ui-2.9.2.jar!/META-INF/resources],AVAILABLE}
2022-08-02 02:46:49.634  INFO 3822 --- [           main] org.eclipse.jetty.server.Server          : Started @7304ms
2022-08-02 02:46:50.020  INFO 3822 --- [           main] o.a.c.f.imps.CuratorFrameworkImpl        : Starting
2022-08-02 02:46:50.031  INFO 3822 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:zookeeper.version=3.6.0--b4c89dc7f6083829e18fae6e446907ae0b1f22d7, built on 02/25/2020 14:38 GMT
2022-08-02 02:46:50.032  INFO 3822 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:host.name=dev-server
2022-08-02 02:46:50.032  INFO 3822 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:java.version=11.0.11
2022-08-02 02:46:50.032  INFO 3822 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:java.vendor=AdoptOpenJDK
2022-08-02 02:46:50.032  INFO 3822 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:java.home=/usr/java/jdk-11.0.11+9
2022-08-02 02:46:50.032  INFO 3822 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:java.class.path=target/microservice-standardexpress-shiponlineorder.jar
2022-08-02 02:46:50.032  INFO 3822 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:java.library.path=/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib
2022-08-02 02:46:50.033  INFO 3822 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:java.io.tmpdir=/tmp
2022-08-02 02:46:50.033  INFO 3822 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:java.compiler=<NA>
2022-08-02 02:46:50.033  INFO 3822 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:os.name=Linux
2022-08-02 02:46:50.033  INFO 3822 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:os.arch=amd64
2022-08-02 02:46:50.033  INFO 3822 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:os.version=5.4.0-84-generic
2022-08-02 02:46:50.033  INFO 3822 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:user.name=xuej
2022-08-02 02:46:50.033  INFO 3822 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:user.home=/home/xuej
2022-08-02 02:46:50.033  INFO 3822 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:user.dir=/home/xuej/Documents/sts4/microservice-standardexpress-shiponlineorder
2022-08-02 02:46:50.033  INFO 3822 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:os.memory.free=248MB
2022-08-02 02:46:50.033  INFO 3822 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:os.memory.max=1488MB
2022-08-02 02:46:50.033  INFO 3822 --- [           main] org.apache.zookeeper.ZooKeeper           : Client environment:os.memory.total=332MB
2022-08-02 02:46:50.039  INFO 3822 --- [           main] org.apache.zookeeper.ZooKeeper           : Initiating client connection, connectString=zk1:2181,zk2:2181,zk3:2181 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@6cff61fc
2022-08-02 02:46:50.044  INFO 3822 --- [           main] org.apache.zookeeper.common.X509Util     : Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation
2022-08-02 02:46:50.051  INFO 3822 --- [           main] org.apache.zookeeper.ClientCnxnSocket    : jute.maxbuffer value is 1048575 Bytes
2022-08-02 02:46:50.063  INFO 3822 --- [           main] org.apache.zookeeper.ClientCnxn          : zookeeper.request.timeout value is 0. feature enabled=false
2022-08-02 02:46:50.074  INFO 3822 --- [           main] o.a.c.f.imps.CuratorFrameworkImpl        : Default schema
2022-08-02 02:46:50.075  INFO 3822 --- [hread(zk2:2181)] org.apache.zookeeper.ClientCnxn          : Opening socket connection to server zk2/192.168.246.44:2181.
2022-08-02 02:46:50.075  INFO 3822 --- [hread(zk2:2181)] org.apache.zookeeper.ClientCnxn          : SASL config status: Will not attempt to authenticate using SASL (unknown error)
2022-08-02 02:46:50.082  INFO 3822 --- [hread(zk2:2181)] org.apache.zookeeper.ClientCnxn          : Socket connection established, initiating session, client: /192.168.246.5:59670, server: zk2/192.168.246.44:2181
2022-08-02 02:46:50.091  INFO 3822 --- [hread(zk2:2181)] org.apache.zookeeper.ClientCnxn          : Session establishment complete on server zk2/192.168.246.44:2181, session id = 0x2000e84f1dd0005, negotiated timeout = 40000
2022-08-02 02:46:50.101  INFO 3822 --- [ain-EventThread] o.a.c.f.state.ConnectionStateManager     : State change: CONNECTED
2022-08-02 02:46:50.136  INFO 3822 --- [ain-EventThread] o.a.c.framework.imps.EnsembleTracker     : New config event received: {server.2=zk2:2888:3888:participant, server.1=zk1:2888:3888:participant, server.3=zk3:2888:3888:participant, version=0}
2022-08-02 02:46:50.142 ERROR 3822 --- [ain-EventThread] o.a.c.framework.imps.EnsembleTracker     : Invalid config event received: {server.2=zk2:2888:3888:participant, server.1=zk1:2888:3888:participant, server.3=zk3:2888:3888:participant, version=0}
2022-08-02 02:46:50.144  INFO 3822 --- [ain-EventThread] o.a.c.framework.imps.EnsembleTracker     : New config event received: {server.2=zk2:2888:3888:participant, server.1=zk1:2888:3888:participant, server.3=zk3:2888:3888:participant, version=0}
2022-08-02 02:46:50.144 ERROR 3822 --- [ain-EventThread] o.a.c.framework.imps.EnsembleTracker     : Invalid config event received: {server.2=zk2:2888:3888:participant, server.1=zk1:2888:3888:participant, server.3=zk3:2888:3888:participant, version=0}
2022-08-02 02:46:50.511  INFO 3822 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2022-08-02 02:46:50.913  INFO 3822 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2022-08-02 02:46:50.926  INFO 3822 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-2 - Starting...
2022-08-02 02:46:50.942  INFO 3822 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-2 - Start completed.
2022-08-02 02:46:50.942  INFO 3822 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-3 - Starting...
2022-08-02 02:46:50.964  INFO 3822 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-3 - Start completed.
2022-08-02 02:46:51.257  INFO 3822 --- [           main] o.a.c.f.imps.CuratorFrameworkImpl        : Starting
2022-08-02 02:46:51.257  INFO 3822 --- [           main] org.apache.zookeeper.ZooKeeper           : Initiating client connection, connectString=zk1:2181,zk2:2181,zk3:2181 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@19a20bb2
2022-08-02 02:46:51.258  INFO 3822 --- [           main] org.apache.zookeeper.ClientCnxnSocket    : jute.maxbuffer value is 1048575 Bytes
2022-08-02 02:46:51.258  INFO 3822 --- [           main] org.apache.zookeeper.ClientCnxn          : zookeeper.request.timeout value is 0. feature enabled=false
2022-08-02 02:46:51.260  INFO 3822 --- [           main] o.a.c.f.imps.CuratorFrameworkImpl        : Default schema
2022-08-02 02:46:51.261  INFO 3822 --- [hread(zk3:2181)] org.apache.zookeeper.ClientCnxn          : Opening socket connection to server zk3/192.168.246.45:2181.
2022-08-02 02:46:51.261  INFO 3822 --- [hread(zk3:2181)] org.apache.zookeeper.ClientCnxn          : SASL config status: Will not attempt to authenticate using SASL (unknown error)
2022-08-02 02:46:51.262  INFO 3822 --- [hread(zk3:2181)] org.apache.zookeeper.ClientCnxn          : Socket connection established, initiating session, client: /192.168.246.5:32844, server: zk3/192.168.246.45:2181
2022-08-02 02:46:51.266  INFO 3822 --- [hread(zk3:2181)] org.apache.zookeeper.ClientCnxn          : Session establishment complete on server zk3/192.168.246.45:2181, session id = 0x3000e84ea240003, negotiated timeout = 40000
2022-08-02 02:46:51.266  INFO 3822 --- [ain-EventThread] o.a.c.f.state.ConnectionStateManager     : State change: CONNECTED
2022-08-02 02:46:51.280  INFO 3822 --- [ain-EventThread] o.a.c.framework.imps.EnsembleTracker     : New config event received: {server.2=zk2:2888:3888:participant, server.1=zk1:2888:3888:participant, server.3=zk3:2888:3888:participant, version=0}
2022-08-02 02:46:51.281 ERROR 3822 --- [ain-EventThread] o.a.c.framework.imps.EnsembleTracker     : Invalid config event received: {server.2=zk2:2888:3888:participant, server.1=zk1:2888:3888:participant, server.3=zk3:2888:3888:participant, version=0}
2022-08-02 02:46:51.281  INFO 3822 --- [ain-EventThread] o.a.c.framework.imps.EnsembleTracker     : New config event received: {server.2=zk2:2888:3888:participant, server.1=zk1:2888:3888:participant, server.3=zk3:2888:3888:participant, version=0}
2022-08-02 02:46:51.281 ERROR 3822 --- [ain-EventThread] o.a.c.framework.imps.EnsembleTracker     : Invalid config event received: {server.2=zk2:2888:3888:participant, server.1=zk1:2888:3888:participant, server.3=zk3:2888:3888:participant, version=0}
2022-08-02 02:46:51.480  INFO 3822 --- [           main] org.quartz.impl.StdSchedulerFactory      : Using default implementation for ThreadExecutor
2022-08-02 02:46:51.499  INFO 3822 --- [           main] org.quartz.core.SchedulerSignalerImpl    : Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2022-08-02 02:46:51.499  INFO 3822 --- [           main] org.quartz.core.QuartzScheduler          : Quartz Scheduler v.2.3.2 created.
2022-08-02 02:46:51.500  INFO 3822 --- [           main] o.a.s.e.l.i.s.JobShutdownHookPlugin      : Registering Quartz shutdown hook. MGR-logic_db-rws-ds
2022-08-02 02:46:51.500  INFO 3822 --- [           main] org.quartz.simpl.RAMJobStore             : RAMJobStore initialized.
2022-08-02 02:46:51.501  INFO 3822 --- [           main] org.quartz.core.QuartzScheduler          : Scheduler meta-data: Quartz Scheduler (v2.3.2) 'MGR-logic_db-rws-ds' with instanceId 'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 1 threads.
  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

2022-08-02 02:46:51.501  INFO 3822 --- [           main] org.quartz.impl.StdSchedulerFactory      : Quartz scheduler 'MGR-logic_db-rws-ds' initialized from an externally provided properties instance.
2022-08-02 02:46:51.501  INFO 3822 --- [           main] org.quartz.impl.StdSchedulerFactory      : Quartz scheduler version: 2.3.2
2022-08-02 02:46:51.515  INFO 3822 --- [           main] org.apache.curator.utils.Compatibility   : Using org.apache.zookeeper.server.quorum.MultipleAddresses
2022-08-02 02:46:51.802  INFO 3822 --- [           main] org.quartz.core.QuartzScheduler          : Scheduler MGR-logic_db-rws-ds_$_NON_CLUSTERED started.
2022-08-02 02:46:53.931  WARN 3822 --- [           main] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.
2022-08-02 02:46:53.931  INFO 3822 --- [           main] c.n.c.sources.URLConfigurationSource     : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2022-08-02 02:46:54.183  INFO 3822 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'
2022-08-02 02:46:54.900  INFO 3822 --- [           main] .s.s.UserDetailsServiceAutoConfiguration : 

Using generated security password: cb560b45-a63e-491e-9944-7f92015a4cf9

2022-08-02 02:46:55.187  INFO 3822 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@79f82fc4, org.springframework.security.web.context.SecurityContextPersistenceFilter@253379ec, org.springframework.security.web.header.HeaderWriterFilter@79d3fb99, org.springframework.web.filter.CorsFilter@ebd06a9, org.springframework.security.web.csrf.CsrfFilter@74fda9ed, org.springframework.security.web.authentication.logout.LogoutFilter@701996e9, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@535adf36, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@4d5d945d, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@554db19d, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@5bdef8ee, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@27d4513e, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@49314684, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@bb896e9, org.springframework.security.web.session.SessionManagementFilter@7154a248, org.springframework.security.web.access.ExceptionTranslationFilter@22db974d, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@2fda92e0]
2022-08-02 02:46:55.289  INFO 3822 --- [           main] org.quartz.impl.StdSchedulerFactory      : Using default implementation for ThreadExecutor
2022-08-02 02:46:55.292  INFO 3822 --- [           main] org.quartz.core.SchedulerSignalerImpl    : Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2022-08-02 02:46:55.292  INFO 3822 --- [           main] org.quartz.core.QuartzScheduler          : Quartz Scheduler v.2.3.2 created.
2022-08-02 02:46:55.292  INFO 3822 --- [           main] org.quartz.simpl.RAMJobStore             : RAMJobStore initialized.
2022-08-02 02:46:55.292  INFO 3822 --- [           main] org.quartz.core.QuartzScheduler          : Scheduler meta-data: Quartz Scheduler (v2.3.2) 'quartzScheduler' with instanceId 'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

2022-08-02 02:46:55.292  INFO 3822 --- [           main] org.quartz.impl.StdSchedulerFactory      : Quartz scheduler 'quartzScheduler' initialized from an externally provided properties instance.
2022-08-02 02:46:55.292  INFO 3822 --- [           main] org.quartz.impl.StdSchedulerFactory      : Quartz scheduler version: 2.3.2
2022-08-02 02:46:55.292  INFO 3822 --- [           main] org.quartz.core.QuartzScheduler          : JobFactory set to: org.springframework.scheduling.quartz.SpringBeanJobFactory@3d6c7152
2022-08-02 02:46:55.356  INFO 3822 --- [           main] DiscoveryClientOptionalArgsConfiguration : Eureka HTTP Client uses Jersey
2022-08-02 02:46:55.458  WARN 3822 --- [           main] ockingLoadBalancerClientRibbonWarnLogger : You already have RibbonLoadBalancerClient on your classpath. It will be used by default. As Spring Cloud Ribbon is in maintenance mode. We recommend switching to BlockingLoadBalancerClient instead. In order to use it, set the value of `spring.cloud.loadbalancer.ribbon.enabled` to `false` or remove spring-cloud-starter-netflix-ribbon from your project.
2022-08-02 02:46:55.562  INFO 3822 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 2 endpoint(s) beneath base path '/actuator'
2022-08-02 02:46:55.631  INFO 3822 --- [           main] o.s.c.n.eureka.InstanceInfoFactory       : Setting initial instance status as: STARTING
2022-08-02 02:46:55.739  INFO 3822 --- [           main] com.netflix.discovery.DiscoveryClient    : Initializing Eureka in region us-east-1
2022-08-02 02:46:56.064  INFO 3822 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using JSON encoding codec LegacyJacksonJson
2022-08-02 02:46:56.064  INFO 3822 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using JSON decoding codec LegacyJacksonJson
2022-08-02 02:46:56.407  INFO 3822 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using XML encoding codec XStreamXml
2022-08-02 02:46:56.407  INFO 3822 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using XML decoding codec XStreamXml
2022-08-02 02:46:56.762  INFO 3822 --- [           main] c.n.d.s.r.aws.ConfigClusterResolver      : Resolving eureka endpoints via configuration
2022-08-02 02:46:56.811  INFO 3822 --- [           main] com.netflix.discovery.DiscoveryClient    : Disable delta property : false
2022-08-02 02:46:56.811  INFO 3822 --- [           main] com.netflix.discovery.DiscoveryClient    : Single vip registry refresh property : null
2022-08-02 02:46:56.811  INFO 3822 --- [           main] com.netflix.discovery.DiscoveryClient    : Force full registry fetch : false
2022-08-02 02:46:56.811  INFO 3822 --- [           main] com.netflix.discovery.DiscoveryClient    : Application is null : false
2022-08-02 02:46:56.811  INFO 3822 --- [           main] com.netflix.discovery.DiscoveryClient    : Registered Applications size is zero : true
2022-08-02 02:46:56.813  INFO 3822 --- [           main] com.netflix.discovery.DiscoveryClient    : Application version is -1: true
2022-08-02 02:46:56.813  INFO 3822 --- [           main] com.netflix.discovery.DiscoveryClient    : Getting all instance registry info from the eureka server
2022-08-02 02:46:57.397  INFO 3822 --- [           main] com.netflix.discovery.DiscoveryClient    : The response status is 200
2022-08-02 02:46:57.399  INFO 3822 --- [           main] com.netflix.discovery.DiscoveryClient    : Starting heartbeat executor: renew interval is: 30
2022-08-02 02:46:57.403  INFO 3822 --- [           main] c.n.discovery.InstanceInfoReplicator     : InstanceInfoReplicator onDemand update allowed rate per min is 4
2022-08-02 02:46:57.406  INFO 3822 --- [           main] com.netflix.discovery.DiscoveryClient    : Discovery Client initialized at timestamp 1659379617405 with initial instances count: 0
2022-08-02 02:46:57.408  INFO 3822 --- [           main] o.s.c.n.e.s.EurekaServiceRegistry        : Registering application STANDARDEXPRESS-SHIPONLINEORDER with eureka with status UP
2022-08-02 02:46:57.409  INFO 3822 --- [           main] com.netflix.discovery.DiscoveryClient    : Saw local status change event StatusChangeEvent [timestamp=1659379617409, current=UP, previous=STARTING]
2022-08-02 02:46:57.422  INFO 3822 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_STANDARDEXPRESS-SHIPONLINEORDER/10.0.2.15:standardexpress-shiponlineorder:34493: registering service...
2022-08-02 02:46:57.430  INFO 3822 --- [           main] o.e.j.s.h.ContextHandler.application     : Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-08-02 02:46:57.430  INFO 3822 --- [           main] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2022-08-02 02:46:57.456  INFO 3822 --- [           main] o.s.web.servlet.DispatcherServlet        : Completed initialization in 26 ms
2022-08-02 02:46:57.522  INFO 3822 --- [           main] o.e.jetty.server.AbstractConnector       : Started ServerConnector@7551da2a{HTTP/1.1, (http/1.1)}{0.0.0.0:38754}
2022-08-02 02:46:57.524  INFO 3822 --- [           main] o.s.b.web.embedded.jetty.JettyWebServer  : Jetty started on port(s) 38754 (http/1.1) with context path '/'
2022-08-02 02:46:57.526  INFO 3822 --- [           main] .s.c.n.e.s.EurekaAutoServiceRegistration : Updating port to 38754
2022-08-02 02:46:57.533  INFO 3822 --- [           main] o.s.s.quartz.SchedulerFactoryBean        : Starting Quartz Scheduler now
2022-08-02 02:46:57.535  INFO 3822 --- [           main] org.quartz.core.QuartzScheduler          : Scheduler quartzScheduler_$_NON_CLUSTERED started.
2022-08-02 02:46:57.597  INFO 3822 --- [           main] t.f.s.ShiponlineOrderApplication         : Started ShiponlineOrderApplication in 14.475 seconds (JVM running for 15.263)
2022-08-02 02:46:57.687  INFO 3822 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_STANDARDEXPRESS-SHIPONLINEORDER/10.0.2.15:standardexpress-shiponlineorder:34493 - registration status: 204
2022-08-02 02:47:09.432  INFO 3822 --- [NotifyService-0] org.quartz.core.QuartzScheduler          : Scheduler MGR-logic_db-rws-ds_$_NON_CLUSTERED shutting down.
2022-08-02 02:47:09.433  INFO 3822 --- [NotifyService-0] org.quartz.core.QuartzScheduler          : Scheduler MGR-logic_db-rws-ds_$_NON_CLUSTERED paused.
2022-08-02 02:47:09.436  INFO 3822 --- [NotifyService-0] org.quartz.core.QuartzScheduler          : Scheduler MGR-logic_db-rws-ds_$_NON_CLUSTERED shutdown complete.
2022-08-02 02:47:09.454  INFO 3822 --- [NotifyService-0] org.quartz.impl.StdSchedulerFactory      : Using default implementation for ThreadExecutor
2022-08-02 02:47:09.460  INFO 3822 --- [NotifyService-0] org.quartz.core.SchedulerSignalerImpl    : Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2022-08-02 02:47:09.460  INFO 3822 --- [NotifyService-0] org.quartz.core.QuartzScheduler          : Quartz Scheduler v.2.3.2 created.
2022-08-02 02:47:09.460  INFO 3822 --- [NotifyService-0] o.a.s.e.l.i.s.JobShutdownHookPlugin      : Registering Quartz shutdown hook. MGR-logic_db-rws-ds
2022-08-02 02:47:09.461  INFO 3822 --- [NotifyService-0] org.quartz.simpl.RAMJobStore             : RAMJobStore initialized.
2022-08-02 02:47:09.461  INFO 3822 --- [NotifyService-0] org.quartz.core.QuartzScheduler          : Scheduler meta-data: Quartz Scheduler (v2.3.2) 'MGR-logic_db-rws-ds' with instanceId 'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 1 threads.
  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

2022-08-02 02:47:09.461  INFO 3822 --- [NotifyService-0] org.quartz.impl.StdSchedulerFactory      : Quartz scheduler 'MGR-logic_db-rws-ds' initialized from an externally provided properties instance.
2022-08-02 02:47:09.461  INFO 3822 --- [NotifyService-0] org.quartz.impl.StdSchedulerFactory      : Quartz scheduler version: 2.3.2
2022-08-02 02:47:09.511  INFO 3822 --- [NotifyService-0] org.quartz.core.QuartzScheduler          : Scheduler MGR-logic_db-rws-ds_$_NON_CLUSTERED started.
2022-08-02 02:47:09.641  INFO 3822 --- [NotifyService-0] org.quartz.core.QuartzScheduler          : Scheduler MGR-logic_db-rws-ds_$_NON_CLUSTERED shutting down.
2022-08-02 02:47:09.642  INFO 3822 --- [NotifyService-0] org.quartz.core.QuartzScheduler          : Scheduler MGR-logic_db-rws-ds_$_NON_CLUSTERED paused.
2022-08-02 02:47:09.658  INFO 3822 --- [NotifyService-0] org.quartz.core.QuartzScheduler          : Scheduler MGR-logic_db-rws-ds_$_NON_CLUSTERED shutdown complete.
2022-08-02 02:47:09.668  INFO 3822 --- [NotifyService-0] org.quartz.impl.StdSchedulerFactory      : Using default implementation for ThreadExecutor
2022-08-02 02:47:09.674  INFO 3822 --- [NotifyService-0] org.quartz.core.SchedulerSignalerImpl    : Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2022-08-02 02:47:09.674  INFO 3822 --- [NotifyService-0] org.quartz.core.QuartzScheduler          : Quartz Scheduler v.2.3.2 created.
2022-08-02 02:47:09.674  INFO 3822 --- [NotifyService-0] o.a.s.e.l.i.s.JobShutdownHookPlugin      : Registering Quartz shutdown hook. MGR-logic_db-rws-ds
2022-08-02 02:47:09.674  INFO 3822 --- [NotifyService-0] org.quartz.simpl.RAMJobStore             : RAMJobStore initialized.
2022-08-02 02:47:09.674  INFO 3822 --- [NotifyService-0] org.quartz.core.QuartzScheduler          : Scheduler meta-data: Quartz Scheduler (v2.3.2) 'MGR-logic_db-rws-ds' with instanceId 'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 1 threads.
  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

2022-08-02 02:47:09.674  INFO 3822 --- [NotifyService-0] org.quartz.impl.StdSchedulerFactory      : Quartz scheduler 'MGR-logic_db-rws-ds' initialized from an externally provided properties instance.
2022-08-02 02:47:09.675  INFO 3822 --- [NotifyService-0] org.quartz.impl.StdSchedulerFactory      : Quartz scheduler version: 2.3.2
2022-08-02 02:47:09.717  INFO 3822 --- [NotifyService-0] org.quartz.core.QuartzScheduler          : Scheduler MGR-logic_db-rws-ds_$_NON_CLUSTERED started.

查看Eureka面板

通过Zuul Gateway查询

请求路径

http://localhost:8079/standardexpress-shiponlineorder/dev/shiponline/orders

请求日志

2022-08-03 19:17:57.007  INFO 28571 --- [qtp995531141-20] ShardingSphere-SQL                       : Logic SQL: select
     
     
    shipper_id, order_id, create_time, update_time, shipper_name, shipper_mobile_no, 
    shipper_country, shipper_province, shipper_city, shipper_county, shipper_address, 
    receiver_id, receiver_name, receiver_mobile_no, receiver_country, receiver_province, 
    receiver_city, receiver_county, receiver_address, parcel_type, parcel_name, parcel_pieces, 
    parcel_weight, pay_method, insurance_amount, is_privacy_waybill, leavemessage, estimated_freight, 
    insurance_fee, estimated_cost
   
    from shiponline_order
     
       
      
   
     
     
      order by create_time desc
2022-08-03 19:17:57.007  INFO 28571 --- [qtp995531141-20] ShardingSphere-SQL                       : SQLStatement: MySQLSelectStatement(table=Optional.empty, limit=Optional.empty, lock=Optional.empty, window=Optional.empty)
2022-08-03 19:17:57.007  INFO 28571 --- [qtp995531141-20] ShardingSphere-SQL                       : Actual SQL: ds2 ::: select
     
     
    shipper_id, order_id, create_time, update_time, shipper_name, shipper_mobile_no, 
    shipper_country, shipper_province, shipper_city, shipper_county, shipper_address, 
    receiver_id, receiver_name, receiver_mobile_no, receiver_country, receiver_province, 
    receiver_city, receiver_county, receiver_address, parcel_type, parcel_name, parcel_pieces, 
    parcel_weight, pay_method, insurance_amount, is_privacy_waybill, leavemessage, estimated_freight, 
    insurance_fee, estimated_cost
   
    from shiponline_order
     
       
      
   
     
     
      order by create_time desc

请求结果

[ {
  "create_time" : "2022-07-11T17:20:39",
  "update_time" : "2022-07-11T17:20:39",
  "order_id" : "NUFnVAg2DGws7wYF4-1Jx",
  "shipper_id" : "CCQjE9W3cOMmgRljW3M4e",
  "shipper_name" : "张三",
  "shipper_mobile_no" : "185******72",
  "shipper_country" : "中国",
  "shipper_province" : "北京市",
  "shipper_city" : "北京市",
  "shipper_county" : "朝阳区",
  "shipper_address" : "绿地中心C座阿里巴巴北京总部",
  "receiver_id" : "yEGsupn2n-VllbI9OOwQw",
  "receiver_name" : "李四",
  "receiver_mobile_no" : "175******45",
  "receiver_country" : "中国",
  "receiver_province" : "上海市",
  "receiver_city" : "上海市",
  "receiver_county" : "青浦区",
  "receiver_address" : "6666号中国速递",
  "parcel_type" : 1,
  "parcel_name" : "机密文件",
  "parcel_pieces" : 1,
  "parcel_weight" : 30,
  "pay_method" : 1,
  "insurance_amount" : 0,
  "is_privacy_waybill" : true,
  "leavemessage" : "请带纸箱",
  "verification_code" : null,
  "estimated_freight" : 70.0,
  "insurance_fee" : 0,
  "estimated_cost" : 100.0
}, {
  "create_time" : "2022-07-11T17:19:55",
  "update_time" : "2022-07-11T17:19:55",
  "order_id" : "A1jK7MqhPitBgGswfvfU4",
  "shipper_id" : "-2z3po6jHB6XR0yBbdpQI",
  "shipper_name" : "张三",
  "shipper_mobile_no" : "185******72",
  "shipper_country" : "中国",
  "shipper_province" : "北京市",
  "shipper_city" : "北京市",
  "shipper_county" : "朝阳区",
  "shipper_address" : "绿地中心C座阿里巴巴北京总部",
  "receiver_id" : "FCEY7cY8JlXLF9dNgSVIY",
  "receiver_name" : "李四",
  "receiver_mobile_no" : "175******45",
  "receiver_country" : "中国",
  "receiver_province" : "上海市",
  "receiver_city" : "上海市",
  "receiver_county" : "青浦区",
  "receiver_address" : "6666号中国速递",
  "parcel_type" : 1,
  "parcel_name" : "机密文件",
  "parcel_pieces" : 1,
  "parcel_weight" : 30,
  "pay_method" : 1,
  "insurance_amount" : 0,
  "is_privacy_waybill" : true,
  "leavemessage" : "请带纸箱",
  "verification_code" : null,
  "estimated_freight" : 70.0,
  "insurance_fee" : 0,
  "estimated_cost" : 100.0
}, {
  "create_time" : "2022-07-09T22:39:35",
  "update_time" : "2022-07-09T22:39:35",
  "order_id" : "h3dK7ZzJcH-I8a51Fh3Ax",
  "shipper_id" : "q90I9nC1jAOfcKyzjtVXX",
  "shipper_name" : "张三",
  "shipper_mobile_no" : "185******72",
  "shipper_country" : "中国",
  "shipper_province" : "北京市",
  "shipper_city" : "北京市",
  "shipper_county" : "朝阳区",
  "shipper_address" : "绿地中心C座阿里巴巴北京总部",
  "receiver_id" : "vy7inLNyS3IlqyfnCFzZU",
  "receiver_name" : "李四",
  "receiver_mobile_no" : "175******45",
  "receiver_country" : "中国",
  "receiver_province" : "上海市",
  "receiver_city" : "上海市",
  "receiver_county" : "青浦区",
  "receiver_address" : "6666号中国速递",
  "parcel_type" : 1,
  "parcel_name" : "机密文件",
  "parcel_pieces" : 1,
  "parcel_weight" : 30,
  "pay_method" : 1,
  "insurance_amount" : 0,
  "is_privacy_waybill" : true,
  "leavemessage" : "请带纸箱",
  "verification_code" : null,
  "estimated_freight" : 70.0,
  "insurance_fee" : 0,
  "estimated_cost" : 100.0
}, {
  "create_time" : "2022-07-09T21:03:18",
  "update_time" : "2022-07-09T21:03:18",
  "order_id" : "J7tZWmR-izrNi0cVdtUJQ",
  "shipper_id" : "4uAynxQnFpzRzWjApm_GR",
  "shipper_name" : "张三",
  "shipper_mobile_no" : "185******72",
  "shipper_country" : "中国",
  "shipper_province" : "北京市",
  "shipper_city" : "北京市",
  "shipper_county" : "朝阳区",
  "shipper_address" : "绿地中心C座阿里巴巴北京总部",
  "receiver_id" : "ZLPy6KKQyRIQ1cU3S3TL7",
  "receiver_name" : "李四",
  "receiver_mobile_no" : "175******45",
  "receiver_country" : "中国",
  "receiver_province" : "上海市",
  "receiver_city" : "上海市",
  "receiver_county" : "青浦区",
  "receiver_address" : "6666号中国速递",
  "parcel_type" : 1,
  "parcel_name" : "机密文件",
  "parcel_pieces" : 1,
  "parcel_weight" : 30,
  "pay_method" : 1,
  "insurance_amount" : 0,
  "is_privacy_waybill" : true,
  "leavemessage" : "请带纸箱",
  "verification_code" : null,
  "estimated_freight" : 70.0,
  "insurance_fee" : 0,
  "estimated_cost" : 100.0
}, {
  "create_time" : "2022-07-09T16:00:08",
  "update_time" : "2022-07-09T16:00:08",
  "order_id" : "uz8C2W0AwYCN2hthm-0Jh",
  "shipper_id" : "qGudx7aLg4Id4Q74nkyVe",
  "shipper_name" : "张三",
  "shipper_mobile_no" : "185******72",
  "shipper_country" : "中国",
  "shipper_province" : "北京市",
  "shipper_city" : "北京市",
  "shipper_county" : "朝阳区",
  "shipper_address" : "绿地中心C座阿里巴巴北京总部",
  "receiver_id" : "tW_7E4H_BXhq_46tT6LPI",
  "receiver_name" : "李四",
  "receiver_mobile_no" : "175******45",
  "receiver_country" : "中国",
  "receiver_province" : "上海市",
  "receiver_city" : "上海市",
  "receiver_county" : "青浦区",
  "receiver_address" : "6666号中国速递",
  "parcel_type" : 1,
  "parcel_name" : "机密文件",
  "parcel_pieces" : 1,
  "parcel_weight" : 30,
  "pay_method" : 1,
  "insurance_amount" : 0,
  "is_privacy_waybill" : true,
  "leavemessage" : "请带纸箱",
  "verification_code" : null,
  "estimated_freight" : 70.0,
  "insurance_fee" : 0,
  "estimated_cost" : 100.0
} ]

查看Hystrix面板

请求路径

触发监控

用如下两个请求URL作为示例:

健康状态