Regarding Flink as a web service

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Regarding Flink as a web service

Sam Hawk
Hi,

I am new to Flink and I have a very basic question to start with. 

I have started working with some very basic exampes and was wondering we can make the streams available as json(via a rest service) which can be further be used by any front end technology for visualization in the form of charts and graphs.

Any helpful link to the tutorial will be appreciated.

Thanks,
Sam  
Reply | Threaded
Open this post in threaded view
|

Re: Regarding Flink as a web service

Jonas Gröger
You could write your data back to Kafka using the FlinkKafkaProducer and then use websockets to read from kafka using NodeJS or other.
Reply | Threaded
Open this post in threaded view
|

Re: Regarding Flink as a web service

Aljoscha Krettek
[hidden email] Because he implemented queryable state.

There is also queryable state, which allows you to query the internal keyed state of Flink user functions.

On Mon, 30 Jan 2017 at 00:46 Jonas <[hidden email]> wrote:
You could write your data back to Kafka using the FlinkKafkaProducer and then
use websockets to read from kafka using NodeJS or other.



--
View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Regarding-Flink-as-a-web-service-tp11364p11365.html
Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Regarding Flink as a web service

rmetzger0

On Tue, Jan 31, 2017 at 6:18 PM, Aljoscha Krettek <[hidden email]> wrote:
[hidden email] Because he implemented queryable state.

There is also queryable state, which allows you to query the internal keyed state of Flink user functions.

On Mon, 30 Jan 2017 at 00:46 Jonas <[hidden email]> wrote:
You could write your data back to Kafka using the FlinkKafkaProducer and then
use websockets to read from kafka using NodeJS or other.



--
View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Regarding-Flink-as-a-web-service-tp11364p11365.html
Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com.