Java
COUNT(*) vs COUNT(column) — will the result be the same or different?
Have you had experience with BPMN and Camunda?
Why is a Consumer Group needed? How to do broadcast in Kafka?
How to solve the problem of re-reading the request body (InputStream is read only once)?
Name the delivery guarantees in Kafka and what they mean?
@Service @Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE) class MyService { public String getMessage() { return "Hello from MyService! Instance: " + this.hashCode(); } } @RestController public class MyRestController { @Autowired private MyService myService; @GetMapping("/api/hello") public String hello() { return myService.getMessage(); } } curl [link] Hello from MyService! Instance: 56149 curl [link] Hello from MyService! Instance: ???????
Question 5. There are two implementations of the interface, what happens when injecting a variable of interface type into a Spring bean? - The first implementation will be in the variable - A compile-time error will occur - A context startup error will occur - It depends on the Spring version
What methodologies did you work with?
The service cannot handle requests during peak times. What can be done?
How many microservices were there, how did everything spin and scale?
Tell me about the most complex/interesting task from your work.
What methods of interaction between services have you used besides REST?
How to create a custom exception in Java?
What is the difference between the @Bean annotation and @Component?
What is VACUUM in PostgreSQL and why is it needed?
How to create a transaction manually without the @Transactional annotation?
Experience with relational and non-relational databases?
Why did you leave the monolith, what were the bottlenecks and response time issues?
Tell about the equals() and hashCode() methods, their contract, and their role in HashMap.
[name] asked: what approaches to architecture building have you used in practice? Do you know microservices patterns?