Kafkatorio/modules
Lazzexus 3d8673fe03 Add resource patch labels to the web map
Group nearby resource tiles of the same type into patches, and label
them on the map, e.g. "Iron ore / 2.4M", or "Crude oil / 12 wells".

- events-library: ResourcePatch model, shared by the server and map.
- events-server-web: ResourcePatchService reads the map-chunk-resource
  topic from the beginning (read_committed) into memory, and on request
  groups tiles into connected patches (join distance 2 tiles for ore,
  12 for infinite resources, whose wells are spread out). Results are
  cached until new data arrives.
  New endpoint: GET .../servers/{id}/map/resources/s{surface}/patches
- web-map: toggleable "Resource patches" overlay with labels at each
  patch centre and a hover tooltip, refreshed every minute. Patches
  under 10 tiles are hidden. (Surface 1 only, like the rest of the map.)
- events-mod: mark resources infinite based on the prototype's
  infinite_resource. Entity initial_amount is nil for e.g. crude oil, so
  oil fields were treated as hundreds of tiny ore patches.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 07:07:23 +02:00
..
events-library Add resource patch labels to the web map 2026-10-13 07:07:23 +02:00
events-mod Add resource patch labels to the web map 2026-10-13 07:07:23 +02:00
events-processor-core Raise Kafka Streams transaction timeout above the commit interval 2026-10-13 07:00:06 +02:00
events-processors big ol' refactor of the Gradle Factorio Mod 2022-12-18 01:41:14 +01:00
events-server [docker-files] remove user config 2022-10-22 23:36:00 +02:00
events-server-syslog Fix syslog server silently dropping packets under load 2026-10-12 18:58:21 +02:00
events-server-web Add resource patch labels to the web map 2026-10-13 07:07:23 +02:00
infra-factorio-client tidy up after refactoring Gradle Factorio plugin 2022-12-19 16:53:18 +01:00
infra-factorio-server Port events-mod to Factorio 2.0.77, declare SE/Krastorio 2 compatibility 2026-10-12 15:06:30 +02:00
infra-kafka-cluster Fix Docker image builds and local platform setup 2026-10-12 17:27:11 +02:00
infra-kafka-pipe update dockerfiles 2022-10-22 19:55:02 +02:00
kt-rcon migrate buildSrc plugins to includedBuild plugins 2022-09-18 20:49:32 +02:00
versions-platform adjust geedeecee config, so images can be built 2022-10-05 00:06:46 +02:00
web-map Add resource patch labels to the web map 2026-10-13 07:07:23 +02:00
modules.md big ol' refactor to split up the events-server and events-processors 2022-09-13 17:56:57 +02:00