How was authentication and secure connection to Kafka organized, were SSL/TLS, SASL, or other mechanisms used?
Python
Can you tell about your recent experience using WebSocket for data exchange?
Is it possible to throw an exception from outside into a generator? What mechanisms are available for this?
What will be in variable D and why? def foo(): >>>>>return (["foo",1]) D = {"A": [1,2], foo: False, foo(): True, (1,): "123"}
counter = 0 def increment(): >>>>counter += 1 increment() print(counter) What will be displayed on the screen and why?
How strict were you regarding typing in your work?
Messages that were sent via REST and Kafka — what did they look like? JSON, XML?
You need to implement a decorator that caches the result of a method based on its input arguments.
What guidelines, type requirements, linters, and general agreements did your team follow for development standardization?
What is the difference between a stack, queue, and deque?
What is a DLQ (Dead Letter Queue) in the context of Kafka?
What types of parsers do you know and use in your projects?
Can you give examples of using decorators in Python?
How can you understand that applying asynchronous methods will improve system performance or efficiency?
What is a fixture in testing?
What is an iterator and an iterable object? What methods should they implement? How does the for loop work under the hood?
Why are anonymous functions used in Python?
Explain what anonymous functions are in programming and how they are used.
How to implement a context manager yourself? What methods need to be implemented?
What is the purpose of using the 'with' statement in Python and what problems does it solve?