Custom PipelineDB extension - pipelinedb

Currently I can see support for kafka and kinesis, is it possible to add custom protocol extension to pipelinedb ? If yes, where can I find some guidelines to write it.
-
Thanks

You can use the PostgreSQL extension interface to write PipelineDB extensions.

Related

Tutorial on how to write a custom I/O

I am unable to use the IOs that are provided with the beam sdk. In my case, data resides in LDAP (or in other enterprise apps). Hence the need to develop custom I/Os. But, I find that there isn't even a single tutorial on how to write an IO. Between trying to figure out how to use AutoValue and how to use PCollection, I am having a tough time (and yes, I can read code on github).
Any pointers?
Developing a new I/O connector guide is a good starting point.
If you decide to implement a source using the Splittable DoFn framework, there 's more documentation here.

Can Spring-Data-Cassandra support Specification interface?

Can Spring-Data-Cassandra support Specification interface?
If yes, can you please give me a simple example.
Thanks.

Smartface.io MQTT plugin

I need to use a mqtt client in smartface.io and was wondering if someone has developed a plugin or can advice how to do it. Actually the broker does not support websockets
Thanks
There is no support in SmartFace for MQTT so you need to implement this yourself.
A good option for beginners might be another product like: B4A https://www.b4x.com/b4a.html .. where the community have already created a lot of libraries/resources.
https://www.b4x.com/android/forum/threads/jmqtt-official-android-mqtt-client.59497/

Implement a REST service with Extbase (Typo3)

I'm searching for a way to implement a REST-Service in an extbase extension for Typo3.
I've only found old or not maintained extensions and they doesn't use extbase.
So how could I get an extension that provides an API for external requests?
Something like:
GET www.somedoma.in/service/item/1
I've found this tutorial for Typo3 Flow. So how could I use Flow packages in extbase?
I've also found a way to define own page types like ?type=23123145 where the respond can be manipulated. But i think that's no good idea to implement a REST-Service extension.
I started to create an extension, because I was interested in this topic.
The current state can be found under https://github.com/cundd/rest. It requires cundd_composer to be installed and is a work in process ;-)
Update 1:
Ad: ;-)
the extension is used in production and is under continuing development. To name some of the features:
- Support for Extbase
- Mapping of tables
- Authentication
Update 2:
The project website is live: http://rest.cundd.net
You can't use FLOW3 packages in TYPO3.
AFAIK, TYPO3 hasn't native REST support yet and it can be tricky to use RESTful methods such as PUT or DELETE. However you can with common Extbase ext and RealURL create an API, which will be able to send responses for GET or POST requests.
BTW if the only target of your implementation is to create RESTful API I'd suggest to use some lightweight framework on top of it. Main purpose of the TYPO3 is to deliver universal and comfortable CMS system, but its performance sometimes can not compared to dedicated solutions.
I can recommend the symfony 2 serializer component! I use it as standalone version as lib. Here is a tutorial

Which postgresql package should I use?

I'd like to access an existing postgres database, which is on my local (mac) machine, from haskell.
I can see quite a few postgres packages on hackage. Which is likely to be the easiest for me to use?
postgresql-simple, a binding to libpq, was just announced, and seems to have a nice feature set. I haven't used it myself (or indeed PostgreSQL from Haskell at all), but it seems to have community support, so I'd recommend it if you don't want to use a particular library on top (like HDBC or persistent).
The alternatives appear to be libpq (another binding to libpq), which postgre-simple is based on, and pgsql-simple (a direct implementation of the wire protocol in Haskell), which, going by the post, doesn't seem ready for prime-time yet, and is not on Hackage.
There is also a PostgreSQL driver for HDBC; the PostgreSQL backend for the persistent library (as used in Yesod) is based on it.
Opaleye is a higher-level alternative to postgresql-simple. It uses postgresql-simple under the hood but provides a typesafe and composable API.
http://hackage.haskell.org/package/opaleye