It is possible to use Apache Kafka with PostgreSQL: http://www.confluent.io/blog/bottled-water-real-time-integration-of-postgresql-and-kafka/
It may be an overkill depending on your use case. On Thursday, 22 October 2015 10:02:59 UTC+1, Adrian Cooley wrote: > > Thank you guys so much for all the helpful information. I'll have a look > at each suggestion and figure out the best approach, thanks again, > > much appreciated, > Adrian. > > On Monday, 19 October 2015 16:06:01 UTC+1, Adrian Cooley wrote: >> >> Hi all, >> >> I'm new to Clojure and I've been exploring the possibility of using it to >> handle a large list of Users stored in a Postgresql Database. I can see >> that there are some great sql libraries for clojure to query a Postgresql >> database and this is fine. However, I was wondering if there are any useful >> Clojure features or libraries that could allow me to 'listen' for changes >> to a Users Table in the Database. A use case scenario to describe what I >> want would be as follows: Say someone registers their details on a website >> and their details are persisted to the Database. I then want some process >> to pick up that a new user is now in the database and send this user >> information to a client that has registered to listen for new users. Is >> something like this possible in Clojure where it can handle listening to >> state changes and trigger a notification? Thanks in advance to anyone who >> chimes in with advice, >> >> Regards, >> Adrian. >> > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
