Category Archives: Без рубрики

SpringBoot.Making our first starter and autoconfiguration

STARTER let’s create some new module and infra package in it MAIN APP in main app we can call and use this bean like this

Posted in Без рубрики | Comments Off on SpringBoot.Making our first starter and autoconfiguration

Spring. Creating main annotation to start business logic

a couple of classes with business logic

Posted in Без рубрики | Comments Off on Spring. Creating main annotation to start business logic

Spring.Reading from properties file

Any beanFactoryPostProcessor should be declared in @Configuration file with static, because configuration is being initialized in very begining. Nothing needed, props a read from application.properties / application.yml file, but if you want to custmomize the file you can add annotation … Continue reading

Posted in Без рубрики | Comments Off on Spring.Reading from properties file

Spring.How to define spring version inside springBoot ?

another way

Posted in Без рубрики | Comments Off on Spring.How to define spring version inside springBoot ?

SpringBoot App inside Docker

Commands // rebuild some service in docker compose // start all containers in docker compose // down all containers Files Dockerfile docker-compose.yml

Posted in Без рубрики | Comments Off on SpringBoot App inside Docker

Kafka.FirstExperience

docker-compose.yml go to the directory of file and type kafka container console create topic list all topics writing to topic reading wrom topic

Posted in Без рубрики | Comments Off on Kafka.FirstExperience

Docker.MySql and Lost connection to MySQL server at ‘reading initial communication packet’, system error: 0

// first of all disable mySql Service if it was installed before or you will receive error like this // start docker container on 3307 port // connect to mysql monitor // bash inside docker

Posted in Без рубрики | Comments Off on Docker.MySql and Lost connection to MySQL server at ‘reading initial communication packet’, system error: 0

Gradle.Tips

ignoring cache and refreshes the dependencies

Posted in Без рубрики | Comments Off on Gradle.Tips

Spring.AppConfig

application.yaml in app config AppProperties.java

Posted in Без рубрики | Comments Off on Spring.AppConfig

Leetcode.Best-time-to-buy-and-sell-stock

Task

Posted in Без рубрики | Comments Off on Leetcode.Best-time-to-buy-and-sell-stock