Questions tagged [data-stream]

In Connection-oriented communication, a data stream is a sequence of digitally encoded coherent signals (packets of data or data packets) used to transmit or receive information that is in the process of being transmitted.

In Connection-oriented communication, a data stream is a sequence of digitally encoded coherent signals (packets of data or data packets) used to transmit or receive information that is in the process of being transmitted.

In electronics and computer architecture, a data flow determines for which time which data item is scheduled to enter or leave which port of a systolic array, a Reconfigurable Data Path Array or similar pipe network, or other processing unit or block.

Often the data stream is seen as the counterpart of an instruction stream, since the von Neumann machine is instruction-stream-driven, whereas its counterpart, the Anti machine, is data stream driven.

The term "data stream" has many more meanings, such as by the definition from the context of systolic arrays.

Wikipedia: http://en.wikipedia.org/wiki/Data_stream

276 questions
0
votes
0 answers

Finding a hash function that calculates average of an item in a stream of tuples

am new to this topic and I am trying to learn so my question might have been a bit confusing. What my question actually is: I have a stream of data coming in the form of tuple [Country, state, person]. now on this stream of data, I want to perform…
0
votes
1 answer

How can we sum only the most recent values of a quantity computed in each stratum of a datastream using Flink?

I have a datastream (from a csv file) which contains strings and a specific value (a double) in every row. I use keyBy() in Flink to group these values by a specific attribute (country), so I have a different group of tuples (stratum) for every…
T.D.
  • 11
  • 4
0
votes
1 answer

Flink and Cassandra Connection Issue

Has anyone faced any issue with Connecting to Cassandra from a Flink Job when the Connection is made outside the Flink's DataStreams normally? Session session = clusterBuilder.getCluster().connect(); ResultSet resultSet =…
Samik
  • 29
  • 2
  • 12
0
votes
1 answer

Python script for streaming TCP/IP data and saving it as .txt file

I have a software which has the option of streaming data as TCP/IP data. The used port is specified. Although I am not sure what should be the "hostname"? I want to receive this data using a python script on the same computer as the software and…
Newbie
  • 101
  • 1
  • 2
  • 11
0
votes
1 answer

Best way to manage a queue or stack in java for DB Seq objects

In my application there are some data which always reads from Seq. I am thinking of having a data structure which would start getting loaded with DB Seq and whenever I need DB Seq, I can directly read from there. Once the data is read from there it…
djyo02
  • 27
  • 1
  • 11
0
votes
1 answer

Apache Flink DataStream - Count of Element in Tumbling Window

I’m very new to Apache Flink and its API.I want to create Java program which will do event time based processing with tumbling windows. I want to count the number of elements in the given window. However, I couldn't figure how to do that.
Chirag
  • 1
  • 2
0
votes
3 answers

HTML client receiving continous stream of server output data

What would be best mechanism, for achieving ability, for users, that are logged in, receive messages, generated by server. As there is no way for a server, to send information to user, when it has new message to deliver, a user browser should poll…
Deele
  • 3,728
  • 2
  • 33
  • 51
0
votes
1 answer

Apache Flink - svm predictions on streaming data

I am using Apache Flink to predict streams from Twitter. Code is implemented in Scala My Problem is, that my trained SVM-Model from the DataSet API needs a DataSet as an input for the predict()-Method. I saw already a Question here, where a user…
IboJaan
  • 63
  • 7
0
votes
0 answers

Limitless Multi Threading with JavaFX to update GUI

Using inputstream.readUTF() and a DataInputStream we are required to use a single thread to continuously check for null and to iterate over our input stream. From what I have found online, JavaFX does not provide any way of implementing concurrency…
0
votes
1 answer

Store an element X of an unbounded stream until the Y element arrives, then join them

I'm wondering if using Apache Flink is possible to solve the following problem. Suppose I have a database with two tables: "clients" and "orders". The "orders" table contains a foreign key called "client_id_fk" that refers to the primary key of the…
Maurizio Cimino
  • 105
  • 1
  • 9
0
votes
1 answer

Read CSV file with 3 columns into Datastream. JAVA Apache Flink

I've been struggling for a while setting up a flink application that creates a Datastream> from a csv file. The columns in this file (columns ID, dateTime and Result) are all String but they should be converted…
user7432713
  • 197
  • 3
  • 17
0
votes
1 answer

Foursquare Updating

No, not another question that asks, "How can I make my messages flow like on Foursquare???" What I want to know is, how they are getting their messages in the right order and timeframe. Here's my situation. I have a proc that can get messages for a…
slandau
  • 23,528
  • 42
  • 122
  • 184
0
votes
1 answer

streaming data from oracle with kafka

I'm starting with kafka and I need to control the inserts in a specific Oracle table, send the new records through kafka at the moment. I have no control over the database, so, in principle, Debizium is excluded. How can I do this? Without using…
Lanre
  • 101
  • 2
  • 8
0
votes
0 answers

Reading HDMI data as streamed data

TLDR: I want some way to read HDMI data directly in code, rather than output it to a monitor. Doesn't really matter what language. Background: A friend of mine was curious about trying to write an AI for a video game we play, so we were discussing…
S. Buda
  • 727
  • 7
  • 27
0
votes
1 answer

How to make Thomson Reuters datastream requests in R via RDatastream::ds? Possible miss-specification of 'user' argument

Note: This problem can only be replicated if one has a Thomson Reuters Datastream login I am attempting to request data from Thomson Reuters Datastream using RDatastream::ds but cannot successfully request data. It seems that the problem has got to…
Eshan
  • 43
  • 1
  • 9