Did you use Kafka transactional features? How is the key related to the partition?
Python
999999 in range(1,99999999) What is the time complexity of this expression?
Tell me about the last or most interesting project you participated in, preferably related to microservices. What was it architecturally and technically, and what role did you play in it?
You mentioned idempotency — can you explain what you meant?
What is your experience with Python and why did you choose Python specifically?
How to stop a generator on the fly and clear memory? How to close a generator?
How to invalidate the cache so that it does not grow infinitely? How to add TTL (time-to-live)?
# It is necessary to implement a generator that takes two arguments: the filename and the number of words batch_size. # The generator should read the specified file and return batch_size words on each iteration call.
Do you use SOLID principles in your work and which principle do you find most useful?
What is the purpose of a key in Kafka?
How did you achieve idempotency?
What is the difference between the Strategy and Template Method design patterns?
In what case are linked lists more efficient than arrays?
What is an API Gateway pattern and why is it needed?
What were the message formats (JSON or XML) and how was contract validation organized: did you use Schema Registry, JSON Schema, or another mechanism?
Is it possible to implement a decorator for a method through a class and how to do it?
In which direction do you want to develop and what tasks are you interested in?