Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8654957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:54:55+00:00 2026-06-12T14:54:55+00:00

I am working on a StreamInsight application using StreamInsight 2.1. The input adapter will

  • 0

I am working on a StreamInsight application using StreamInsight 2.1.

The input adapter will be a live stock data stream with thousands of events per second.
I want to run multiple independent queries using the same data stream and be able to add more queries while the stream is running, picking up at the current location in the stream.

Whenever I write a query, though, it creates a brand new Input Adapter. So, I end up with 25 input adapters all loading and pushing the same data.

Am I just thinking about this wrong? Is an Input Adapter independent to each query?

Is the only solution to put the live stock data behind the Input Adapter and have each Input Adapter streaming that data again?

Any advice would be great, good documentation on StreamInsight is tough to find.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T14:54:57+00:00Added an answer on June 12, 2026 at 2:54 pm

    Since you are talking about input adapters, I’m assuming that you are using the legacy adapter model and not the newer Event Source/Sink approach. You need to take a look at what’s called “Dynamic Query Composition” or DQC. This approach will let you create a single instance of the input adapter and then share the stream with your other queries.

    In a nutshell, you need to create a “Source” query that contains all your stock ticker data. From there, you can call “ToStream()” on the query to convert the results of the query back into a CepStream. Next have your 25 or so other queries/calculations/etc use that stream as their data source.

    Take a look at Composing Queries at Runtime in the MSDN StreamInsight documentation. The first section on that page “Reusing the Output of an Existing Query” should be exactly what you need.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Working on the server side of a java based web application (will serve mobile
Working with an Oracle 9i database from an ASP.NET 2.0 (VB) application using OLEDB.
Working on a legacy application at the moment and we are replacing the data
Working on a small game using an HTML5 canvas, and javascript. And it's working
Working on game where plates will be falling from top to bottom. Some plates
Working on a project using Entity Framework (4.3.1.0). I'm trying to figure out how
Working on a Windows 8 (metro style) application, and want to reference a service
Working sample using one Table SELECT t.* FROM ( SELECT TITLE.name, (TITLE.value-TITLE.msp) AS Lower,
working on using a formula ive been using for a while to find distances
Working on an app using Akka 2 deployed with Play-mini. I pulled logback into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.