Search the practice set

275 questions, 991 terms and 600 topics in 30 areas.

60 results for “Consumer-Driven Contracts”

Terminology · 36
term

Consumer-Driven Contract

A contract derived from what consumers actually use, published to the provider, and verified in the provider's own build.

Contract Testing
term

Consumer Contract

A machine-readable record of exactly which parts of a provider's response one consumer relies on, generated from that consumer's own tests.

Consumer-Driven Contracts
term

Event Notification vs Event-Carried State

Whether an event carries only the fact that something happened, or also the data a consumer needs to act on it.

Event-Driven Integration
term

Provider Verification

The provider-side stage that replays every consumer's recorded expectations against the real implementation.

Contract Testing
term

Access Pattern Driven Modelling

Designing the data model from the queries the application must serve, rather than from an abstract normalised representation of the entities.

SQL vs NoSQL
term

Consumer Group

A set of consumers that cooperatively read one stream, with each partition assigned to exactly one member, so the group collectively processes every message once.

Event Streaming
term

Consumer Lag

How far behind the newest record a consumer is, expressed in time rather than in message count, and its rate of change.

Streaming SLOs
term

Domain-Driven Design

Modelling software around the business domain, with boundaries drawn where the language of the business changes.

Software Architecture
term

Event-Driven Architecture

A style in which components communicate by emitting and reacting to facts about what happened, rather than by calling each other.

Architecture Patterns
term

Event-Driven Integration

Systems integrating by publishing and consuming events rather than by calling each other's APIs.

API & Integration
term

Internal Consumer SLO

A reliability commitment made to teams who cannot switch supplier, which is why it must be measured from their side rather than from the platform's.

Platform SLOs
term

Salesforce's Metadata-Driven Multi-Tenancy

Salesforce serves every customer from shared infrastructure with a single physical schema, storing customer-specific data structures as metadata rather than as separate tables.

Data Architecture
term

Backward Compatibility

The property that a new version of a producer continues to work with clients written against the old version.

API & Integration
term

Bidirectional Contract

A contract verified from both sides — the consumer's expectations and the provider's actual behaviour — without either running the other's tests directly.

Contract Tests
term

Broker and Mediator Topology

Two ways of organising an event-driven system — components reacting independently to a shared channel, or a central component coordinating a defined sequence.

Event-Driven Architecture
term

Competing Consumers

Multiple identical consumers reading from one queue, so throughput scales with consumer count and work is distributed automatically.

Architecture Patterns
term

Contract Verification Gate

A provider's pipeline stage that replays every consumer's recorded expectations and fails the build if any would break.

Contract Testing at Scale
term

Dead Letter Queue

A separate queue that receives messages which could not be processed after a set number of attempts, so they neither block the consumer nor disappear.

API & Integration
term

Dynamic Secrets

Credentials generated on demand for a specific consumer with a short lease, rather than stored, shared and rotated periodically.

Secrets Management
term

Event Sourcing

Storing the full sequence of state-changing events as the system of record, and deriving current state by replaying them.

Data Architecture
term

Event Versioning

Evolving event schemas without breaking consumers that may read messages written months earlier.

Event-Driven Integration
term

Golden Signals

The four measurements that cover most of what matters for a request-driven service: latency, traffic, errors and saturation.

Observability
term

Leaky Abstraction Cost

What a consumer pays when a platform abstraction hides a mechanism they must nonetheless understand to diagnose or tune it.

Abstraction Level Choice
term

Message Queue

A store that holds messages until a consumer processes them, decoupling producer availability and rate from consumer availability and rate.

Distributed Systems
term

Offset Management

How a consumer records its position in a stream, and the decision that determines whether processing is at-least-once or at-most-once.

Event Streaming
term

OpenAPI

A machine-readable specification format for HTTP APIs, from which documentation, clients, servers, mocks and validation can be generated.

API & Integration
term

Partition Assignment

The mapping of partitions to consumer instances that determines parallelism, ordering guarantees and what happens when the consumer set changes.

Competing Consumers
term

Paved Road Telemetry

Instrumenting the platform's own usage — where teams succeed, where they stall, where they leave — so its roadmap is driven by evidence.

Platform Telemetry
term

Poison Message

A record that a consumer cannot process and cannot skip, which halts its partition entirely until someone intervenes.

Dead Letter Handling
term

Producer Obligation

What a data contract binds the producing team to do, and — crucially — what happens in their pipeline when they are about to break it.

Data Contracts
term

Prop Interface Stability

The commitment a component makes about its props, slots, events and emitted structure — including the parts consumers depend on that were never intended as interface.

Component Contracts
term

Provisioned vs Serverless Capacity

Paying for a fixed database size continuously, versus paying for capacity consumed with automatic scaling — a crossover decision driven by duty cycle.

Cloud Databases
term

REST

An architectural style for APIs built on resources identified by URLs, manipulated with uniform HTTP methods, and stateless requests.

API & Integration
term

Reactive Streams

A specification for asynchronous stream processing in which the consumer requests a specific number of items, making backpressure part of the protocol rather than an afterthought.

Backpressure & Flow Control
term

Report Migration Inventory

The enumerated list of every report, extract and downstream consumer of the legacy warehouse, with usage evidence, which is what makes the migration finite.

Warehouse Migration
term

SQL vs NoSQL

A choice driven by access patterns, consistency requirements and query flexibility — not by data volume, which is the reason usually given.

Architecture Decision-Making
Questions · 9
quiz

An order service must notify inventory, billing, shipping and analytics when an order is placed. Synchronous calls or events? Justify your choice per consumer.

What the interviewer is testing Whether you apply the decision per interaction rather than adopting one style globally. The framing that matters Synchronous cal

Distributed Systems
quiz

An order service publishes events consumed by six teams. Every consumer immediately calls back for order details. What is wrong and what do you change?

The failure Thin notification events ("order 123 changed") produce a callback stampede : every event triggers six synchronous calls back to the producer, and th

Event-Driven Integration
quiz

A design review presents a new event-driven platform. What cost questions do you ask before approving it?

What the interviewer is testing Whether cost is part of your architecture review or an afterthought handled by finance later, and whether you know the specific

Cost & FinOps
quiz

Consumer lag on a Kafka topic grows during peak and does not recover overnight. You add consumers and nothing improves. Why?

The mechanism Each partition is assigned to exactly one consumer within a group. With ten partitions and ten consumers, an eleventh consumer joins the group, is

Event Streaming
quiz

A dashboard has been wrong for three weeks. Nobody knows which upstream produced the table it reads. What is the governance failure, and what fixes it?

The failures, and there are three 1. No lineage. The question "which upstream produced this?" should be answerable in seconds by following a derived dependency

Data Governance
quiz

A quarterly board report shows a category down 40%. Investigation finds an upstream system stopped sending a field three months ago. Nothing alerted. What do you change?

Understand why nothing fired The pipeline completed successfully every night. It read the source, applied its transformation, and wrote rows — all of which is w

Data Observability
quiz

A service writes to its database and then publishes an event to Kafka. Sometimes consumers see an event for a record that does not exist, and sometimes a record exists with no event. Why, and how do you fix it?

What the interviewer is testing Recognition of the dual write problem — one of the most common defects in event driven systems and one that testing rarely catch

Data Architecture
quiz

A team proposes exposing their service's database change stream via CDC so other teams can consume it, avoiding the work of building an event API. What is your assessment?

Name what is actually being proposed The proposal is to publish the service's internal schema as its integration contract. CDC does not emit domain events; it e

CDC to Stream
quiz

Orders must trigger inventory reservation, a confirmation email, an analytics record and a fraud check. Queue, topic, or both — and what breaks if you choose wrong?

What the interviewer is testing Whether you know the difference between work distribution and notification — a distinction that produces one of the most confusi

Architecture Patterns