Microsoft Azure Service Bus Client Library for Python providing comprehensive messaging capabilities for enterprise applications.
Overall
score
92%
{
"context": "This criteria evaluates the engineer's ability to use azure-servicebus package for streaming message consumption using the iterator pattern. The focus is on proper use of receiver iteration, message settlement operations, and resource management with context managers.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Client initialization",
"description": "Uses ServiceBusClient.from_connection_string() to create the Service Bus client with the connection string from environment variable",
"max_score": 15
},
{
"name": "Receiver creation",
"description": "Uses client.get_queue_receiver() to create a receiver for the 'orders' queue",
"max_score": 15
},
{
"name": "Iterator-based streaming",
"description": "Iterates directly over the receiver object (e.g., 'for message in receiver:') to stream messages rather than using receive_messages() batch method",
"max_score": 30
},
{
"name": "Message completion",
"description": "Calls receiver.complete_message() on each message after successful processing to remove it from the queue",
"max_score": 25
},
{
"name": "Context managers",
"description": "Uses 'with' statement context managers for ServiceBusClient and receiver to ensure proper resource cleanup",
"max_score": 15
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-azure-servicebusdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10