Files
scylladb/message/CMakeLists.txt
Michał Chojnowski 5ce1e4410f message/dictionary_service: introduce dictionary_service
This "service" is a bag for code responsible for dictionary training,
created to unclutter main() from dictionary-specific logic.

It starts the RPC dictionary training loop when the relevant cluster feature is enabled,
pauses and unpauses it appropriately whenever relevant config or leadership
status are updated, and publishes new dictionaries whenever the training fiber produces them.
2024-12-23 23:37:02 +01:00

21 lines
424 B
CMake

add_library(message STATIC)
target_sources(message
PRIVATE
dictionary_service.cc
dictionary_service.hh
messaging_service.cc
messaging_service.hh)
target_include_directories(message
PUBLIC
${CMAKE_SOURCE_DIR})
target_link_libraries(message
PUBLIC
gms
Seastar::seastar
absl::headers
PRIVATE
idl)
check_headers(check-headers message
GLOB_RECURSE ${CMAKE_CURRENT_SOURCE_DIR}/*.hh)