Skip to content

v1.3.0

Choose a tag to compare

@SecurityTrip SecurityTrip released this 26 Oct 19:57
· 8 commits to master since this release
0b5d580

Storage for production: dialog states, the polling marker and seen updates in SQL or Redis.

Added

  • maxapi-jdbc: JdbcStateStorage, JdbcMarkerStore and JdbcUpdateDeduplicator keep dialog
    states, the polling marker and the keys of handled updates in any SQL database through a
    DataSource. Only standard SQL is used; createTable() creates a missing table.
  • maxapi-redis: RedisStateStorage (with an optional TTL), RedisMarkerStore and
    RedisUpdateDeduplicator on Lettuce.
  • Spring Boot starter: max.bot.storage=jdbc|redis with max.bot.jdbc.* and max.bot.redis.*
    creates those stores, and StateStorage, MarkerStore and UpdateDeduplicator beans are used by
    the auto-configured bot. The bot settings are now a BotConfig bean (maxBotConfig).
  • Both modules are in maxapi-bom.