-
Notifications
You must be signed in to change notification settings - Fork 0
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
[#35] Kafka Producer 설정 #36
Conversation
|
docker-compose-kafka.yml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docker-compose.yml과 합치는 것이 좋지 않을까요?
@@ -36,10 +43,19 @@ public Transaction getTransactionById(int id) { | |||
} | |||
|
|||
public Transaction createTransaction(Transaction tx) { | |||
long start = System.currentTimeMillis(); | |||
Transaction savedTx = transactionRepository.save(tx); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
디비 저장도 카프카에 맡겨보면 어떨까 싶네요.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
카프카 설정은 잘 된 것 같네요. 😄
Kafka Producer 설정