Skip to content

centraldogma-0.50.0

Compare
Choose a tag to compare
@ikhoon ikhoon released this 21 May 08:12
78dd3ee

New features

  • You can now safely execute a block operation in the callback of a Watcher. #587 #589
    • You can also specify the blocking task executor when either 1) creating a client or 2) watching a query.
      CentralDogma client = 
              new ArmeriaCentralDogmaBuilder()
                              .blockingTaskExecutor(blockingExecutor) // 1)
                              ...
                              .build();
      
      client.fileWatcher(
              "foo", "bar", Query.ofJson("/baz.json"),
              content -> { /* perform a long running task */ }, blockingExecutor); // 2)

Dependencies

  • Armeria 1.7.2 -> 1.8.0
  • Caffeine 2.9.0 -> 2.9.1
  • jcommander 1.78 -> 1.81
  • JGit 5.11.0 -> 5.11.1
  • Micrometer 1.6.6 -> 1.7.0