avro plugin을 이용한 Spring boot 실습 - 2 (avro write)
환경설정이 끝났다면, 이제 본격적으로 우리가 생성한 userSchema.avsc 를 통해 User.java를 생성해봅시다. UserSchema.avsc(참고로 avsc 파일의 namespace는 경로와도 연관이 있기 때문에, 본인 프로젝트에 알맞게 경로설정을 해야합니다.){"namespace": "com.example.my_rest_api.model", "type": "record", "name": "User", "fields": [ {"name": "name", "type": "string"}, {"name": "favorite_number", "type": ["int", "null"]}, {"name": "favorite_color", "type": ["string", "nul..
2024. 9. 24.