Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chap06장 코드는 책과 똑같지만 api응답이 제대로 내려오지 않습니다. #1

Open
zeromok opened this issue Jul 8, 2023 · 2 comments

Comments

@zeromok
Copy link

zeromok commented Jul 8, 2023

redis 부터 막히네요 ㅠㅠ planefinder 실행 시켜 놓고 로컬의 sbur-redis 를 실행시키면 스케줄링은 돌지만 응답값을 가져오지 못하고 있습니다.
해결방법이 있을까요?

@rival6821
Copy link

저도 6장에서 여기저기서 막히네요 ㅠ

@ypjun100
Copy link

ypjun100 commented Mar 7, 2024

혹시나 6장에서 등장하는 planefinder가 제대로 항공기에 대한 정보를 주지 않는다면, planefinder 프로젝트 내의 PlaneFinderService 클래스에 구현된 getAircraft() 메서드 내의 코드를 주석처리 해주시고, 바로 saveSamplePositions()의 결과값을 리턴할 수 있도록 구현하시면 됩니다.

아마, 저자가 실제로 항공기를 감지할 수 있는 수신기가 설치된 환경에서 프로젝트를 돌릴 수 있도록 구현해놨기 때문에, 수신기가 없는 상태에서는 제대로 항공기의 위치를 받아올 수 없어서 제대로 데이터가 전달이 되지 않았던 것 같네요.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants