zlacker

[parent] [thread] 2 comments
1. dirkt+(OP)[view] [source] 2021-12-18 05:24:29
What are the options to use Postgres pub/sub with Java? Because the usual Java libraries don't seem to support the pub/sub functionality well, you have to actively poll when you want to subscribe.
replies(2): >>paulry+kQ >>oftenw+i21
2. paulry+kQ[view] [source] 2021-12-18 15:32:53
>>dirkt+(OP)
This may depend on the JDBC driver support Listen/Notify. Though if queue traffic is relatively steady then maybe polling isn't so bad?
3. oftenw+i21[view] [source] 2021-12-18 16:44:13
>>dirkt+(OP)
https://impossibl.github.io/pgjdbc-ng/docs/0.8.9/user-guide/...

or

https://github.com/pgjdbc/r2dbc-postgresql#listennotify

[go to top]