diff --git a/pl/cross/messaging/kafka/tools/client/kcat.txt b/pl/cross/messaging/kafka/tools/client/kcat.txt index e3a30c1d7..11f1bf3e2 100644 --- a/pl/cross/messaging/kafka/tools/client/kcat.txt +++ b/pl/cross/messaging/kafka/tools/client/kcat.txt @@ -2,3 +2,6 @@ https://github.com/edenhill/kcat https://rmoff.net/2018/08/02/kafka-listeners-explained/ docker run --rm --network=host edenhill/kafkacat:1.5.0 kafkacat -b localhost:29092 -L +-b $HOST_PORT +-L list +# -X sasl.username= -X sasl.password= -X security.protocol=SASL_SSL -X sasl.mechanisms=SCRAM-SHA-512 -X ssl.ca.location=~/.kafka/root.crt diff --git a/pl/java/libfws/spring/boot/ext/quartz.txt b/pl/java/libfws/spring/boot/ext/quartz.txt deleted file mode 100644 index bcd8c25bd..000000000 --- a/pl/java/libfws/spring/boot/ext/quartz.txt +++ /dev/null @@ -1,6 +0,0 @@ -http://www.opencodez.com/java/quartz-scheduler-with-spring-boot.htm -https://github.com/pavansolapure/opencodez-samples/tree/master/quartz-demo - -2019 -https://dzone.com/articles/adding-quartz-to-spring-boot - https://habr.com/ru/company/otus/blog/475996/ diff --git a/pl/java/libfws/spring/boot/features/cfg/conditional.txt b/pl/java/libfws/spring/boot/features/cfg/conditional.txt new file mode 100644 index 000000000..4ecc39e26 --- /dev/null +++ b/pl/java/libfws/spring/boot/features/cfg/conditional.txt @@ -0,0 +1,6 @@ +@ConditionalOnProperty("...") +@ConditionalOnBean(SomeBean.class) + https://docs.spring.io/spring-boot/api/java/org/springframework/boot/autoconfigure/condition/ConditionalOnBean.html + +2019 +https://habr.com/ru/articles/462541/ diff --git a/pl/java/libfws/spring/boot/scheduling/quartz.txt b/pl/java/libfws/spring/boot/scheduling/quartz.txt new file mode 100644 index 000000000..46233d918 --- /dev/null +++ b/pl/java/libfws/spring/boot/scheduling/quartz.txt @@ -0,0 +1,53 @@ +https://www.quartz-scheduler.org/ +https://github.com/quartz-scheduler/quartz + +https://www.quartz-scheduler.org/documentation/ + +cfg +https://github.com/quartz-scheduler/quartz/blob/main/docs/configuration.adoc + org.quartz.dataSource. + +init-schema +https://github.com/quartz-scheduler/quartz/blob/main/quartz/src/main/resources/org/quartz/impl/jdbcjobstore/tables_postgres.sql + +ver +boot 3.3.4 - quartz 2.3.2 + + +api +https://www.quartz-scheduler.org/api/2.3.0/index.html + +http://www.opencodez.com/java/quartz-scheduler-with-spring-boot.htm +https://github.com/pavansolapure/opencodez-samples/tree/master/quartz-demo + +2024 +https://www.baeldung.com/quartz +2022 +https://habr.com/ru/companies/surfstudio/articles/685980/ +2019 +https://dzone.com/articles/adding-quartz-to-spring-boot + https://habr.com/ru/company/otus/blog/475996/ + +cfg sample + quartz: + job-store-type: jdbc + initialize-schema: never + properties: + org: + quartz: + jobStore: + class: org.springframework.scheduling.quartz.LocalDataSourceJobStore + driverDelegateClass: org.quartz.impl.jdbcjobstore.Delegate + useProperties: true + misfireThreshold: 60000 + tablePrefix: qrtz_ + isClustered: true + threadPool: + threadCount: 1 + scheduler: + instanceName: -service + instanceId: AUTO + plugin: + shutdownHook: + class: org.quartz.plugins.management.ShutdownHookPlugin + cleanShutdown: TRUE