What types of relationships in Hibernate do you know and how to describe them? What entity states exist?
Java
Are you familiar with reactive systems and the principles of reactive programming?
Как обеспечить exactly-once семантику в Kafka?
What methods of interaction between services have you used besides REST?
/** * == ФТ == * Сервис обработки заказа получает заказ для обработки через Rest API. * Обработка в следующем: * - Проверить наличие товара на складе (вызывается внешний сервис по REST/HTTP). Если товара нет, то обработка заказа прекращается. * - Сохранить заказ в БД заказов * - Запустить дальнейшую обработку заказа (Processing, вызывается внешний сервис по REST/HTTP) * - Инициировать уведомления о новом заказе (Notification, вызывается внешний сервис по REST/HTTP) * * == НОТ == * - обработка должна быть такой, что если сохранить в БД заказ не удалось, то запускать заказ в обработку (processing) и инициировать уведомление (notification) не надо * - использовать для корреляции логов идентификатор заказа * - поддержать метрики 1) количество принятых заказов 2) количество успешно обработанных заказов * - сервис должен обрабатывать до 100 заказов в секунду */ const MaxItems = 9999 // ... (остальной код не переводится)
To which objects can you refer inside a lambda?
Have you used Criteria API and Specification API in JPA? What are they used for?
How to configure an AI coding agent (e.g., via MD files)?
What is the purpose of the finally block? What is try-with-resources?
What is the difference between @Repository and @Component annotations in Spring?
What is a row version in SQL? How is it used in Hibernate?
How is performance and resource metrics collected and tracked in Java?
What is the difference between MQ and Kafka?
Tell about the hierarchy of collections in Java.
Was the status model common to the entire system or only within a certain number of services?
What is Spring Actuator? What methods (probes) are used to check the application context state for pod balancing in Kubernetes/OpenShift?
What is the Java Memory Model? How does it affect multithreading?
Into which microservices should you split an online store?
What type of index do you recommend for searching JSON columns in PostgreSQL?
What methodology are you used to working with? How do you evaluate tasks and how often do you deploy to production?