Solace Event Feeds

:rocket: Introducing Solace Event Feeds - Code-Free Event Streaming from AsyncAPI

Hey Solace Community! :waving_hand:

I wanted to share an exciting feature that’s been making my event-driven development workflow incredibly smooth - Solace Event Feeds through the Solace Try-Me CLI (stm). If you’ve ever found yourself needing realistic event streams for demo or testing but dreading the setup time, this is a game-changer.

What Are Event Feeds?

Event Feeds are a powerful feature of the Solace Try-Me CLI that automatically generates streaming event data directly from your AsyncAPI specifications. Think of it as having a smart event generator that understands your schema and produces realistic, continuous data streams - all without writing a single line of code.

Why This Matters

We’ve all been there: You have a beautiful AsyncAPI design in Event Portal, but you need to test your event-driven architecture with realistic data. Traditionally, this meant:

  • Writing custom mock data generators
  • Manually crafting test payloads
  • Spending hours setting up test scenarios
  • Dealing with schema mismatches

Event Feeds eliminate this friction entirely.

How It Works (The Magic :sparkles:)

The workflow is surprisingly elegant:

  1. Design in Event Portal - Create your application with events and schemas
  2. Export AsyncAPI - Download your AsyncAPI specification
  3. Generate Feed - Run stm feed generate to create your feed
  4. Configure Rules - Use stm feed configure to customize data generation
  5. Stream Events - Execute stm feed run or stm feed run -ui to start streaming realistic data
  6. Share with Community - Contribute your feed with stm feed contribute

Real-World Benefits

For Developers:

  • Instant realistic test data that matches your schemas
  • No coding required for event generation
  • Built-in Faker.js based data-generation rules integration for diverse data types (personal, financial, location, etc.)
  • UI-based monitoring and control

For Teams:

  • Consistent test environments across development stages
  • Easy sharing of event patterns and use cases
  • Rapid prototyping of event-driven architectures
  • Seamless integration with existing Solace infrastructure

For the Community:

  • Reusable event feeds for common domains
  • Shared best practices for event modeling
  • Collaborative approach to event-driven development

Getting Started

If you haven’t already, install the Solace Try-Me CLI:

MacOS:

brew tap SolaceLabs/stm
brew install stm

Linux/WSL:

echo "deb [arch=amd64 trusted=yes] https://raw.githubusercontent.com/SolaceLabs/apt-stm/master stm main" | sudo tee /etc/apt/sources.list.d/solace-stm-test.list
sudo apt-get update
sudo apt-get install stm

Then explore the feed commands:

stm feed --help
stm feed preview    # Validate your AsyncAPI document
stm feed generate   # Create your feed
stm feed configure  # Customize data generation
stm feed run        # Run event feed
stm feed run -ui    # Start streaming with UI
stm feed list       # List event feeds
stm feed import     # Import an event feed from archive file
stm feed export     # Export an event feed to Event Portal
stm feed archive    # Archive an event feed
stm feed contribute # Contribute to community event feeds

Community Feeds

What makes this even more powerful is the community aspect. Check out feeds.solace.dev to:

  • Browse existing community feeds
  • Find feeds for your specific domain or use case
  • Contribute your own feeds for others to benefit from
  • Learn from real-world AsyncAPI patterns

Key Features That Stand Out

  • Schema Compliance: Generated data always matches your AsyncAPI schema
  • Realistic Data: Faker.js integration ensures meaningful test data
  • Customizable Rules: Fine-tune generation patterns for your specific needs
  • Community Driven: Share and reuse feeds across projects and teams
  • Zero Code Required: From AsyncAPI to streaming events without programming

Call to Action

I’d love to see more community feeds and hear about your experiences! Whether you’re:

  • Building microservices architectures
  • Working with IoT data streams
  • Developing financial applications
  • Creating logistics systems
  • Or any other event-driven use case

Consider creating and sharing your event feeds. It’s a great way to contribute to the community while building your own testing infrastructure.

Resources

Have you tried Event Feeds yet? What’s your experience been like? Any specific domains or use cases you’d like to see more community feeds for? Let’s discuss!

Hi there, I’m Solly AI, I generate responses to your questions using the power of the Solace Agent Mesh:

Please remember that AI technology can make mistakes so ensure that you read our Disclaimer.

AI Generated responses are a work in progress, your help in evaluating my response would be awesome! If my response makes sense, please mark it as a solution or give a :+1:. If my response doesn’t make sense for your topic, please react to it with a :shaking_face:.

I don’t have enough information in the provided documentation to properly explain Solace Event Feeds or their relationship with AsyncAPI. While there is a mention of a topic titled “Solace Event Feeds” in the community forum, there isn’t any detailed information about what this feature is or how it works.

For accurate information about Solace Event Feeds, I recommend checking: