๐Ÿ’ป ๊ฐœ๋ฐœ ์ผ์ง€

์œ„์™€ ๊ฐ™์€ ํ˜•ํƒœ์˜ ๋ฐ์ดํ„ฐ๋ฅผ ๋ฐ›์•„ ๊ฐ์ฒด๋กœ ๋ณ€ํ™˜ ๊ธฐ๋Œ€ํ•œ ๊ฐ์ฒด ํ˜•์‹์€ ์•„๋ž˜์™€ ๊ฐ™๋‹ค. Payload(id = "...", payload = List(Map("..." to "...")) ์•„๋ž˜ ์ฝ”๋“œ๋กœ ํŒŒ์‹ฑ ์ง„ํ–‰ /* build.gradle.kts */ implementation("com.fasterxml.jackson.module:jackson-module-kotlin") /* parsing logic */ jacksonObjectMapper().readValue(msg, PayLoad::class.java) ํ•˜์ง€๋งŒ com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type `java.util.ArrayL..
๊ตฌํ˜„ ํ™˜๊ฒฝ > Spring Boot 2.7.7 > Kotlin Kafka ํ™˜๊ฒฝ ์„ค์น˜ (Docker) docker-compose.yml version: '2' services: zookeeper: image: wurstmeister/zookeeper container_name: zookeeper ports: - "2181:2181" kafka: image: wurstmeister/kafka:2.12-2.5.0 container_name: kafka ports: - "9092:9092" environment: KAFKA_ADVERTISED_HOST_NAME: 127.0.0.1 KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 volumes: - /var/run/docker.sock:/v..
โœ… Jenkins์˜ ๋นŒ๋“œ ๊ฒฐ๊ณผ๋ฅผ Mattermost ๋ฉ”์‹ ์ €๋กœ ์ „๋‹ฌํ•ด๋ณด์ž MatterMost ์„ค์ • Webhook ์ถ”๊ฐ€ MatterMost > ์™ผ์ชฝ ์ƒ๋‹จ ๋ฉ”๋‰ด ๋ฒ„ํŠผ > ํ†ตํ•ฉ > ์ „์ฒด Incoming WebHook ํด๋ฆญ Webhook ์„ค์ • Incoming Webhook ์ถ”๊ฐ€ํ•˜๊ธฐ๋ฅผ ๋ˆ„๋ฅธ ํ›„, ์•„๋ž˜์™€ ๊ฐ™์ด ์ž…๋ ฅํ•ด์ฃผ๊ณ  ์•Œ๋ฆผ์„ ๋ฐ›์„ ์ฑ„๋„์„ ์„ค์ •ํ•œ๋‹ค. ์„ค์ • ํ›„, ์ €์žฅ์„ ๋ˆ„๋ฅด๋ฉด ์•„๋ž˜์™€ ๊ฐ™์ด WebHook URL์ด ๋‚˜์˜จ๋‹ค. ์ด URL์„ ์ž˜ ๊ธฐ์–ตํ•˜์ž! Jenkins ์„ค์ • Jenkins > item > ๊ตฌ์„ฑ ํด๋ฆญ Curl ๋ช…๋ น์–ด๋กœ ๋ณด๋‚ด๊ธฐ Shell script๋ฅผ ์‹คํ–‰ํ•˜์—ฌ curl ๋ช…๋ น์–ด๋กœ mattermost ๋ฉ”์„ธ์ง€๋ฅผ ๋ณด๋‚ด๋Š” ๋ฐฉ๋ฒ•์ด๋‹ค. Build์—์„œ Add build step > Execute shell ํด๋ฆญ ํ›„, ๊ฐ€์žฅ ์•„๋ž˜๋กœ..
์ด์ „ ๊ธ€: (1) jenkins ์„ค์ • https://doteloper.tistory.com/81 [Jenkins - Gitlab] Jenkins๋กœ SpringBoot + React ์ž๋™ CI/CD ๊ตฌ์ถ•ํ•˜๊ธฐ (1) jenkins ์„ค์ • ๊นƒ๋žฉ repository์—์„œ ํŠน์ • ๋ธŒ๋žœ์น˜์˜ push์ด๋ฒคํŠธ๋ฅผ ๊ฐ์ง€ํ•˜์—ฌ ๋นŒ๋“œ์™€ ๋ฐฐํฌ๋ฅผ ์ง„ํ–‰ํ•˜๋Š” CI/CD ์ ์šฉ! 1. Docker๋กœ jenkins ์„ค์น˜ํ•˜๊ณ  ์‹คํ–‰ jenkins ์ด๋ฏธ์ง€๋ฅผ pull ๋ฐ›๋Š”๋‹ค. sudo docker pull jenkins/jenkins:lts ๋‹ค์šด๋ฐ›.. doteloper.tistory.com 1ํŽธ์— ์ด์–ด, ์ด์ œ ๋ณธ๊ฒฉ์ ์œผ๋กœ Gitlab๊ณผ ์—ฐ๋™ํ•˜๊ณ  ๋ฐฐํฌ๋ฅผ ์ง„ํ–‰ํ•ด๋ณด์ž. 1. ์•„์ดํ…œ ์ƒ์„ฑ Jenkins Dashboard > ์ƒˆ๋กœ์šด Item์„ ํด๋ฆญํ•ด ์•„์ดํ…œ์„ ๋งŒ๋“ ..