소개
게시글
질문&답변
2023.05.09
선생님 테스트에 대해서 질문있습니다.
현재 강의에선 테스트코드가 없어서 그렇습니다.테스트코드가 중점인 강의도 아니구요.없으니 그냥 스킵으로 설정해서 하는겁니다. 실제 운영에서 테스트코드가 있으면 스킵을 안하면 됩니다.화이팅.
- 0
- 2
- 405
질문&답변
2023.05.02
kafka sink 생성 시 tasks state failed
자답합니다...이유는 모르겠으나 등록했던 connector, topic 전부 날리고 새로 시작했더니 되네요...허허...
- 0
- 2
- 878
질문&답변
2023.05.02
kafka sink 생성 시 tasks state failed
추가적으로 spring 단에서는 별다른 에러는 없습니다.kafka-console-consumer로 orders topic 로그를 보면 정상적으로 나옵니다.다만 db에 데이터가 적재가 안되는데 connector에 tasks가 작동 중이 아니라 그런 것 같습니다.
- 0
- 2
- 878
질문&답변
2022.09.06
오류 질문
아 죄송합니다. named lock 테스트입니다!
- 1
- 5
- 357
질문&답변
2022.09.05
오류 질문
로그를 확인하니 재고가 32개까지만 딱 줄고 그 뒤로는 멈추는거 같습니다마지막 락 제거하고가 딱 끝이네요 Hibernate: update stock set product_id=?, quantity=?, version=? where id=? and version=?2022-09-05 20:25:09.683 TRACE 16044 --- [ool-1-thread-19] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [BIGINT] - [1]2022-09-05 20:25:09.683 TRACE 16044 --- [ool-1-thread-19] o.h.type.descriptor.sql.BasicBinder : binding parameter [2] as [BIGINT] - [33]2022-09-05 20:25:09.683 TRACE 16044 --- [ool-1-thread-19] o.h.type.descriptor.sql.BasicBinder : binding parameter [3] as [BIGINT] - [67]2022-09-05 20:25:09.683 TRACE 16044 --- [ool-1-thread-19] o.h.type.descriptor.sql.BasicBinder : binding parameter [4] as [BIGINT] - [1]2022-09-05 20:25:09.683 TRACE 16044 --- [ool-1-thread-19] o.h.type.descriptor.sql.BasicBinder : binding parameter [5] as [BIGINT] - [66]2022-09-05 20:25:09.686 DEBUG 16044 --- [ool-1-thread-19] org.hibernate.SQL : select release_lock(?)Hibernate: select release_lock(?)2022-09-05 20:25:09.686 TRACE 16044 --- [ool-1-thread-19] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [1]2022-09-05 20:25:09.700 DEBUG 16044 --- [ool-1-thread-19] org.hibernate.SQL : select get_lock(?, 3000)Hibernate: select get_lock(?, 3000)2022-09-05 20:25:09.700 TRACE 16044 --- [ool-1-thread-19] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [1]2022-09-05 20:25:09.702 DEBUG 16044 --- [ool-1-thread-19] org.hibernate.SQL : select stock0_.id as id1_0_0_, stock0_.product_id as product_2_0_0_, stock0_.quantity as quantity3_0_0_, stock0_.version as version4_0_0_ from stock stock0_ where stock0_.id=?Hibernate: select stock0_.id as id1_0_0_, stock0_.product_id as product_2_0_0_, stock0_.quantity as quantity3_0_0_, stock0_.version as version4_0_0_ from stock stock0_ where stock0_.id=?2022-09-05 20:25:09.702 TRACE 16044 --- [ool-1-thread-19] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [BIGINT] - [1]2022-09-05 20:25:09.705 DEBUG 16044 --- [ool-1-thread-19] org.hibernate.SQL : update stock set product_id=?, quantity=?, version=? where id=? and version=?Hibernate: update stock set product_id=?, quantity=?, version=? where id=? and version=?2022-09-05 20:25:09.705 TRACE 16044 --- [ool-1-thread-19] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [BIGINT] - [1]2022-09-05 20:25:09.705 TRACE 16044 --- [ool-1-thread-19] o.h.type.descriptor.sql.BasicBinder : binding parameter [2] as [BIGINT] - [32]2022-09-05 20:25:09.705 TRACE 16044 --- [ool-1-thread-19] o.h.type.descriptor.sql.BasicBinder : binding parameter [3] as [BIGINT] - [68]2022-09-05 20:25:09.705 TRACE 16044 --- [ool-1-thread-19] o.h.type.descriptor.sql.BasicBinder : binding parameter [4] as [BIGINT] - [1]2022-09-05 20:25:09.706 TRACE 16044 --- [ool-1-thread-19] o.h.type.descriptor.sql.BasicBinder : binding parameter [5] as [BIGINT] - [67]2022-09-05 20:25:09.707 DEBUG 16044 --- [ool-1-thread-19] org.hibernate.SQL : select release_lock(?)Hibernate: select release_lock(?)2022-09-05 20:25:09.708 TRACE 16044 --- [ool-1-thread-19] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [VARCHAR] - [1]
- 1
- 5
- 357