Event-driven API management with Tyk Streams

Want to make the most of your streaming and events APIs, but worried about security, access, troubleshooting and discoverability? Tyk can help. Securely expose, manage and monetize real-time events with Tyk Streams. It’s the event-driven API management you’ve been waiting for.

Solving your asynchronous API challenges

Tyk enables you to:

  • Receive events and publish to an event broker with our special purpose HTTP API endpoint.
  • Eliminate the need for custom microservices for handling HTTP events.
  • Stream messages from a broker such as Kafka using familiar protocols (HTTP, WS, SSE), for faster, easier integration with applications.
  • Mediate message formats so consumers don’t need custom processors.
  • Present events from different sources as a unified stream of JSON events.

Async, event-native APIM

Powerful event-driven API management for enterprises

Use Tyk Streams to design, secure and deploy streaming and events APIs to deliver real-time, interactive experiences. Apply robust security, appropriate governance and observability with Tyk, then use our developer portal to catalog and publish your APIs and enable self-service. Tyk cuts out complexity, fragmented management and inconsistent security, with one platform for every API protocol.

Protocol mediation

Kafka, SSE, HTTP and WebSockets (more to be supported soon): Convert protocols easily without complex brokers or connectors.

Broker proxying

Event brokers are complex and tough to set up. Let Tyk simplify that. Our declarative broker configuration enables you to proxy event brokers, topics and backend event APIs.

Policy enforcement

Rate limits, back-pressure, consumption metrics: Easily apply security and consumption policies to event-driven data sources.

Message filtering and processing

Filter and modify events in real-time, using a powerful transformation and mapping syntax, regardless of protocol.

Trusted by global enterprises

One platform, every protocol

Tyk’s universal approach to API management recognizes that enterprises use a mix of APIs. REST, GraphQL, async… we make it easy to secure your APIs and manage all protocols seamlessly with our flexible, customizable API management platform.

  • Top-tier security: Easily ensure you’re not exposing data you shouldn’t be in your stream.
  • Robust governance: Control who should (and shouldn’t) be able to publish events.
  • Streaming protocol mediation: Effortlessly bridge the gap between different data streaming formats and protocols such as Avro, Protobuf and JSON – with no code.
  • Enhanced discoverability: Enable developers to easily and quickly subscribe to event-driven APIs with Tyk’s developer portal.
  • Event broker integration: Expose webhook endpoints in Tyk to publish events directly into event brokers such as Kafka.
  • Multiplexing event streams: Collect and aggregate event streams from multiple brokers such as Kafka, RabbitMQ and NATS, combine them and present them as a unified asynchronous API.

API management for your future needs

Tyk is a future-forward API management platform that meets your needs today and into the future, as you evolve and scale. We make it easy for you to manage REST and GraphQL APIs as well as your event-driven architecture.

OAS

Open standards native

Tyk provides native support for OAS, OAuth, Open Policy Agent and OpenTelemetry, for powerful integrations.

real-time analytics

Easy observability

Log, monitor and trace for faster troubleshooting and enhanced, data-driven decision-making.

dollarsign

Simple monetization

Design and publish your APIs, then integrate easily with a payment fulfillment tool via Tyk’s developer portal.

FAQs

  • How does Tyk Streams handle scalability and performance?

    Tyk Streams relies on your event broker for scalability and performance. Each connection to Tyk Streams corresponds to a connection with the broker. To scale effectively, ensure your broker can handle the required number of connections. Tyk Streams itself is lightweight and can handle tens of thousands of requests efficiently, with most load managed by the broker.


  • How does Tyk Streams differ from traditional API management?

    Traditional API management focuses on REST APIs, while Tyk Streams manages streaming data like WebSockets, server-sent events, and webhooks. It allows you to manage both streaming and traditional REST data through a unified interface and dashboard, applying familiar API management features to streaming contexts.


  • Can Tyk Streams integrate with our existing API infrastructure?

    Yes, Tyk Streams is built into the Tyk Gateway, requiring no separate components if you have the correct version and licensing. It integrates seamlessly with supported brokers like Kafka, allowing you to use existing API management features such as authentication and mediation for streaming data.


  • Does Tyk Streams support hybrid or multi-cloud deployments?

    Yes, Tyk Streams supports hybrid and multi-cloud deployments. While not initially supporting Tyk Cloud installation, it works well in Tyk Cloud Hybrid environments where you manage your gateways and have the necessary licenses. And MDCB customers can use it without limitation with multiple data centers, providing a consistent experience similar to standard Tyk APIs.


  • What security features does Tyk Streams offer for event-driven APIs?

    Tyk Streams applies existing Tyk Gateway security features to streaming APIs, including all authentication methods, IP allow-listing, and MTLS, and even custom authentication middleware. These security measures are extended to streaming contexts like webhooks, server-sent events, and WebSockets, ensuring robust protection for event-driven APIs.


  • What exactly is event-driven API management and how does it differ from traditional API management?

    While traditional API management focuses on REST APIs and request-response patterns, event-driven API management handles streaming data like WebSockets, server-sent events, and webhooks. With event-driven APIs, the emphasis is on real-time triggers and capabilities that underpin interactive experiences. Managing those APIs requires robust security, governance and observability.

    Tyk Streams allows you to manage both traditional and streaming APIs through a unified interface, applying familiar API management features to asynchronous, event-driven contexts. It simplifies broker proxying, message filtering and processing, and protocol mediation, while enabling you to easily apply security and consumption policies to event-driven data sources.


  • How does Tyk Streams help simplify our event broker infrastructure?

    Event brokers are traditionally complex and challenging to set up. Tyk Streams offers declarative broker configuration that enables you to proxy event brokers, topics, and backend event APIs without the need for custom microservices.

    It acts as an intermediary layer that simplifies interaction with your event infrastructure, with protocol mediation for Kafka, SSE, HTTP, and WebSockets.


  • Can we apply the same security measures to our streaming APIs as we do to our REST APIs?

    Yes, Tyk Streams extends all existing Tyk Gateway security features to your streaming APIs, including various authentication methods, IP allow-listing, MTLS, and even custom authentication middleware.

    This ensures consistent security policies across all your API types, whether they’re REST, GraphQL, or event-driven, ensuring you can meet stringent security and compliance requirements across your API ecosystem. 


  • How does Tyk Streams handle different streaming protocols and formats?

     Tyk Streams provides protocol mediation between Kafka, SSE, HTTP, and WebSockets (with more protocols coming soon). This allows you to convert between these formats easily without complex brokers or connectors. It can also bridge different data formats such as Avro, Protobuf, and JSON with no code required.

    The emphasis is on bringing simplicity to your event-driven API management, making it easier to handle different streaming protocols and formats while applying robust, consistent security and governance. 


  • How can we make our event-driven APIs more discoverable to developers?

    Tyk’s developer portal enhances the discoverability of your event-driven APIs by allowing you to catalog and publish them alongside your other APIs.

    This enables developers to easily find and quickly subscribe to event streams, supporting self-service and increasing the adoption of your real-time data services. You can also easily integrate the developer portal with a payment fulfillment tool to meet monetization use cases. 


Exploring Tyk’s streaming capabilities

“API eventing completely changes the way API consumers interact with our APIs, creating new possibilities that request-response cannot.”

James Higginbotham | API Strategist and Executive API Consultant, LaunchAny