From 24c19d9ec026ce4b4957a4de758ecb606b89d782 Mon Sep 17 00:00:00 2001 From: vooft <52610+vooft@users.noreply.github.com> Date: Sat, 3 Aug 2024 10:58:19 +0400 Subject: [PATCH] Added README --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 50997b7..9e2f7f0 100644 --- a/README.md +++ b/README.md @@ -8,16 +8,19 @@ Kotlin Coroutines PostgresSQL-based message queue using LISTEN/NOTIFY Everything is String-based and for now just follows normal LISTEN/NOTIFY rules. -# Supported database SPIs +## Supported database SPIs This library was designed to be used with different SPIs, providing similar coroutines-based interface. Currently, only JDBC-based SPI is implemented + helper functions for jOOQ. -## JDBC +### JDBC pg-kueue uses virtual threads to make any calls to the database in a non-blocking fashion. It works with any `java.sql.DataSource` implementation, reserving one connection for listening to notifications. +### jOOQ +There is a module that provides a number of helper methods that can work with a jOOQ `DSLContext` and mostly delegate to the JDBC module. + # JDBC usage ## Gradle