Know of an official OpenAPI document? Contribute it →
For Agents
Publish single or multiple event messages to one or more Shoprite Kafka topics over HTTP, choosing round robin, message key, numbered, or sticky partitioning per target.
Use for: Publish an order event to a Kafka topic, I want to post a batch of messages to the same partition, Send a base64-encoded file payload to a streaming topic, Route messages by customer ID as the message key
Not supported: Does not create topics, consume messages, or manage Kafka clusters. Use for publishing messages to existing Shoprite Kafka topics only.
The Shoprite Message Streaming API publishes messages, such as events, to Kafka topics over HTTP so downstream consumers can pick them up. It acts as a Kafka producer proxy: a client posts one message or a list of messages, each with its targets (topic plus partition) and a content block carrying an encoding of UTF-8, UTF-16, or base64 and the payload. Partitioning supports round robin by default, message key, numbered partition, and sticky partitions for batched messages that share a batchReference.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Message Streaming APIs, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fshoprite.com%2Fshoprite" | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fshoprite.com%2Fshoprite" | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Message Streaming APIs.
Publish a single message to one or more Kafka topic and partition targets in one call
Publish multiple messages in one submission, or as a batch to sticky partitions sharing a batchReference
Route messages by round robin, message key, or explicit partition number per target
Send payloads as UTF-8, UTF-16, or base64-encoded binary with a MIME contentType
Fan the same source message out to several topics for consumer groups that need a transformed copy
Patterns agents use Message Streaming APIs for, with concrete tasks.
★ Agent that emits business events to Kafka
An AI agent that processes store or order activity often needs to tell other systems what happened. Through Jentic the agent searches for 'publish a message to a Kafka topic', loads the publishSingle operation, and posts the event with its contractID, interfaceIdentifier, and topic target, while the Basic credentials are injected at call time. Downstream consumers read the event from the topic without the agent holding a Kafka client.
Call POST /messages/publishSingle with publishVolume 'publishSingleMessage', the contractID and interfaceIdentifier, and a message targeting topic 'orders' with a roundRobinPartition and a UTF-8 JSON payload
Ordered delivery with message-key partitioning
Events for the same entity, such as every update to one order, should land on the same partition so consumers see them in order. Each message target can use a messageKeyPartition whose messageKey decides the partition, or a numberedPartition with an explicit partitionNumber. This keeps per-entity ordering without the client managing Kafka partition assignment.
Publish three status updates for order 'ORD-1001' with POST /messages/publishMultiple, each targeting topic 'order-status' with a messageKeyPartition whose messageKey is 'ORD-1001'
Batched publishing to sticky partitions
Bulk loads such as a nightly price or stock export are sent as one batch so they stay together. The publishMultiple operation accepts a list of messages and, for the publishBatchMessages volume, a batchReference that every stickyPartition target repeats, so the whole batch lands on the same topic and partition. Kafka's default limit of 1MB per message still applies to each payload.
Call POST /messages/publishMultiple with publishVolume 'publishBatchMessages', a batchReference UUID, and 50 stock-level messages whose stickyPartition targets carry the same batchReference
2 endpoints — the shoprite message streaming api publishes messages, such as events, to kafka topics over http so downstream consumers can pick them up.
METHOD
PATH
DESCRIPTION
/messages/publishSingle
Publish a single message to one or more topic targets
/messages/publishMultiple
Publish multiple or batched messages
/messages/publishSingle
Publish a single message to one or more topic targets
/messages/publishMultiple
Publish multiple or batched messages
This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.
Base layer of spec validity and structural soundness.
Aggregated quality score from linter diagnostics, weighted by severity.
Percentage of `$ref` references that resolve successfully.
Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).
Structural correctness score based on schema issues using logarithmic dampening.
Clarity, completeness, and ingestion readiness for developers and tooling.
How richly the API is illustrated with examples.
Percentage of examples that conform to their schemas.
Percentage of operations with complete response definitions (success, client error, server error).
Health of API ingestion, bundling, and resolution within Jentic pipelines.
Semantic breadth, depth, and agent comprehension for AI systems.
Coverage of descriptions across API elements.
Coverage of RFC 9457 Problem Details for error responses.
Coverage, uniqueness, and casing consistency of operationIds for AI inference.
Coverage of summaries across operations/tags/info.
Functional utility, complexity comfort, and AI orchestration readiness.
Agent comfort level based on API operational and structural complexity.
Trust, risk posture, and security compliance.
Average quality of security schemes based on authentication method strength (weakest link for OAuth2).
Findability, semantic richness, and reasoning readiness.
Clarity and depth of descriptions across API elements.
Score it yourself
Every API in the directory is allowlisted, so you can re-score it with no key required.
npx @jentic/api-scorecard-cli score <openapi-url>What agents get from Jentic-routed access to this vendor.
Setup
Wiring the Message Streaming API by hand means sending Basic credentials, building the discriminated publishVolume and partition objects correctly, and base64-encoding binary payloads. Through Jentic you install once, import it from the API Directory, store the credentials once, and your agent calls it.
Permission scoping
The Shoprite API carries the Kafka topic and partition inside the request body, so rules bound which operations your agent may call, not which topic. Limit the agent to the operations it needs, such as single-message publishing, and leave bulk publishing out unless you add it.
Credential isolation
Your Basic credentials are stored once, encrypted, by your own Jentic One instance and injected at execution time. They never enter the agent's prompt, logs, or context.
Intent-based discovery
Agents search Jentic by intent such as 'publish a message to a Kafka topic' or 'send a batch of events', and Jentic returns the matching Shoprite operation with its input schema so the agent builds the partition and content objects correctly.
Alternatives and complements available in the Jentic catalogue.
Specific to using Message Streaming APIs through Jentic.
What authentication does the Shoprite Message Streaming API use?
Per its OpenAPI spec, the Message Streaming API uses HTTP Basic authentication on both operations, sent as an Authorization: Basic header. Each request body also carries a contractID, a UUID the spec describes as a proprietary form of API key, plus an interfaceIdentifier. Through Jentic the Basic credentials are stored by your own instance and attached at call time, so they never enter the agent's context.
Can I choose which Kafka partition a message goes to?
Yes. Each message target names a topic and a partition whose type is roundRobinPartition (the default), messageKeyPartition with a messageKey, numberedPartition with a partitionNumber, or stickyPartition with a batchReference for batched messages.
What are the rate limits for the Shoprite Message Streaming API?
The OpenAPI spec does not specify rate limits. It does note that Kafka has a default limit of 1MB per message payload. Check the Shoprite interface documentation at https://soldoc.shoprite.com/datastreaming/definitions for current limits.
Is there a Shoprite Message Streaming MCP server?
You don't need an MCP server to give your agent the Message Streaming API. Jentic connects it directly from the API Directory: import it, store your Basic credentials once, and your agent calls the publish operations it needs, discovered on demand instead of preloaded into its context.
How do I publish an event to Kafka through Jentic?
Search Jentic for 'publish a message to a Kafka topic', load the POST /messages/publishSingle operation, and send the contractID, interfaceIdentifier, publishVolume, and a message with its topic target and content. The API answers 202 with a requestId you can log. To run it on your own infrastructure, install Jentic One from its GitHub repo.
Can I limit what my agent is allowed to do with the Shoprite Message Streaming API?
Partly. A rule that allows only POST /messages/publishSingle lets the agent send one event per call while keeping bulk sends through publishMultiple out of reach, and every call it makes is logged. Which topic receives the event is still decided by the request body, so the rule cannot restrict topics.
GET STARTED