What version of Java did you use on the project? Did you use streams?
Java
How to deal with increasing consumer lag in Kafka?
What is the difference between a process and a thread?
What are the advantages and disadvantages of dividing code into functions?
How is information exchanged between microservices in a system architecture?
Have you encountered difficulties or unforeseen situations during project integration or launch?
Tell me about 2PC and 3PC — how do they differ?
How is transaction management implemented when working with databases using the Spring Framework?
One producer, three consumers, three partitions, and one topic: how many consumers will receive one message?
How to implement parallel calls in Java 17 without virtual threads?
Is it possible to work with data streams in Stream API without performing a terminal operation?
Tell me about one task you are most proud of or that caused the greatest difficulties.
public class ClassA { int a; @Override public boolean equals(Object obj) { //implementation if (this == obj) return true; if (!(obj instanceof ClassA)) return false; ClassA other = (ClassA) obj; return this.a == other.a; } } public class ClassB extends ClassA { int b; @Override public boolean equals(Object obj) { //implementation if (this == obj) return true; if (!(obj instanceof ClassB)) return false; if (!super.equals(obj)) return false; ClassB other = (ClassB) obj; return this.b == other.b; } } ClassB b1 = new ClassB(10, 20); ClassB b2 = new ClassB(10, 20); assertTrue(b1.equals(b2));
What are the differences between functional testing and integration testing?
Two users are simultaneously purchasing a ticket for the same seat in a theater. How can you guarantee that the seat is allocated to only one of them?
What is a Saga and why is it needed?
Have you worked under a GPH contract?
In what situations are generics used in programming?
What scopes are available in Spring? What is singleton scope?
How can you prevent the Dead Letter Queue from stopping during repeated failures?