You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Sam Hawk <dj...@gmail.com> on 2017/01/29 21:35:57 UTC

Regarding Flink as a web service

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

Re: Regarding Flink as a web service

Posted by Robert Metzger <rm...@apache.org>.
There's also a nice documentation page on the feature now:
https://ci.apache.org/projects/flink/flink-docs-release-1.2/dev/stream/queryable_state.html

On Tue, Jan 31, 2017 at 6:18 PM, Aljoscha Krettek <al...@apache.org>
wrote:

> +uce@apache.org <uc...@apache.org> 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 <jo...@huntun.de> 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.
>>
>

Re: Regarding Flink as a web service

Posted by Aljoscha Krettek <al...@apache.org>.
+uce@apache.org <uc...@apache.org> 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 <jo...@huntun.de> 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.
>

Re: Regarding Flink as a web service

Posted by Jonas <jo...@huntun.de>.
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.