Commit graph

297 commits

Author SHA1 Message Date
Adam
e05db4398a re-implement tile saver, without Coroutines or debouncing. It seems to work well. 2022-04-24 19:00:10 +02:00
Adam
d85815d9e1 disable kafka monitoring containers (I'm not really using them) 2022-04-24 18:58:05 +02:00
Adam
f36e84ddf5 webmap: use Ints for player lat/lng 2022-04-24 18:55:47 +02:00
Adam
041d570aed re-implement debounce processor... and then realise it's difficult to integrate with Kafka Streams DSL so don't use it 2022-04-24 18:55:18 +02:00
Adam
3606e512b0 try fixing process checker, again 2022-04-24 18:54:30 +02:00
Adam
12a905e8da bump kotka-streams version 2022-04-24 18:54:11 +02:00
Adam
4b5fb7a944 kafka-streams: experiment with exposing jmx 2022-04-24 11:33:18 +02:00
Adam
12df3b80be visual test for map chunk grouper 2022-04-24 11:32:56 +02:00
Adam
4a2c771603 experiment with optimising map-chunk message 2022-04-24 11:32:34 +02:00
Adam
ee62f9646e Kafka Streams working again? 2022-04-24 11:32:15 +02:00
Adam
7e497ffd59 setup grafana, prometheus, jmx 2022-04-23 21:57:46 +02:00
Adam
0d81650400 save topology description to disk 2022-04-23 21:56:43 +02:00
Adam
2c383041b5 fix inverted check in ProcessRunningSpec 2022-04-23 21:56:08 +02:00
Adam
fea0d5bb97 one more group map chunks test 2022-04-23 17:59:52 +02:00
Adam
b81e62e2fd enable gradle build cache, and improve tasks 2022-04-23 17:59:37 +02:00
Adam
f339333f76 change Kafka admin id warehouse->kafkatorio 2022-04-20 23:17:50 +02:00
Adam
bb54f6666b fix 'prototype key' in MapTileDictionary 2022-04-20 23:15:20 +02:00
Adam
648cb31de8 disable topic auto create 2022-04-20 23:07:17 +02:00
Adam
2a3b0de953 more tests for grouping map chunks 2022-04-20 22:58:06 +02:00
Adam
8ae4e934f7 rm object casting TypeScript (no longer needed) 2022-04-20 22:57:19 +02:00
Adam
2ba44229ca bump kotlin version 2022-04-20 22:56:51 +02:00
Adam
badc8928a9 don't make topics compact by default 2022-04-20 17:55:21 +02:00
Adam
2287582880 tidy up code 2022-04-20 17:54:54 +02:00
Adam
b0a6151c36 move from schema2 to schema 2022-04-20 17:18:09 +02:00
Adam
6bfcd30558 use tuples for colours 2022-04-20 17:14:00 +02:00
Adam
1c55fae236 tidying up schema files 2022-04-20 17:03:23 +02:00
Adam
7f65ec025c try fixing dependabot alerts 2022-04-20 16:32:10 +02:00
Adam
a3e8b20acb try fixing dependabot alerts 2022-04-20 16:30:23 +02:00
Adam
d1353eec60 fix broken tests 2022-04-20 12:58:04 +02:00
Adam
03e8e9442a try fixing dependabot alerts 2022-04-20 11:52:00 +02:00
Adam
8bf393f9c3 start tidying up after schema->schema2 migration 2022-04-20 11:28:30 +02:00
Adam
448dd4a5b8 try fixing dependabot alerts 2022-04-20 11:27:32 +02:00
Adam
1e0a35d9ca bump kvision 2022-04-20 10:18:54 +02:00
Adam
3fff57d46d biggest refactor ever...
- use kxs-ts-gen for TypeScript schemas
- update schema files, so they're tidier (no need for typescript-generator workarounds)
- version bumps (kotlin, gradle, tstl, factorio, kotest)
- improve kxs binary format (use okio)
- move schema files package ('events' wasn't needed)
- tidy up topic creation, naming. base it off classes, make util functions
2022-04-20 10:17:41 +02:00
Adam
db14865ca9 start simplifying schema packets 2022-03-16 23:27:37 +01:00
Adam
303734daaa default zoom, reduce by one 2022-03-14 22:22:03 +01:00
Adam
9e55a33882 disable max.task.idle.ms setting (I don't know what it's supposed to do, and setting it high causes OOM) 2022-03-14 22:21:17 +01:00
Adam
f1d15085e6 reduce log output when saving tiles 2022-03-14 22:20:39 +01:00
Adam
f26f4286e9 remove extraneous word from mod setting titles 2022-03-14 22:19:58 +01:00
Adam
8d36111d9a - start code clean up by commenting out unused/deprecated code (start moving towards the 'event updates' Kafkatorio packets
- bring back the event Queue, and the command to emit lots of chunks
- allow setting the event update timeout directly when debouncing/throttling an update
2022-03-14 00:05:15 +01:00
Adam
1fbe0d87b0 fix EntityIdentifiers deserialization bug (kxs has polymorphism problems with interfaces) 2022-03-14 00:02:22 +01:00
Adam
057eee6a68 - remove coroutines (most packets will only have one group, so it doesn't help much)
- don't materialize to named stores (unneeded)
2022-03-14 00:00:04 +01:00
Adam
0ebf492b42 max task idle ms - try fixing ktable-ktable join... 2022-03-13 23:58:41 +01:00
Adam
8c22329b10 webmap: remove zoom offset (no longer required, changed the zoom offset in processing) 2022-03-13 23:58:14 +01:00
Adam
0cf2b344e3 webmap: temp-fix white line gap bug 2022-03-13 23:56:39 +01:00
Adam
6bb514afc4 still a bit janky (the prototype/tiles join ordering isn't right) but it mostly works, and is performant 2022-03-13 12:37:43 +01:00
Adam
8bb73b8291 remove commented out code, try using materializedAs to fix KTable-KTable join not working, make 'saveMapTiles' more encapsulated 2022-03-13 11:06:30 +01:00
Adam
3ebc8997d2 code tidy 2022-03-13 11:04:18 +01:00
Adam
70349d86a7 emit prototypes on_init (they don't seem to always emit, otherwise?) 2022-03-13 11:03:47 +01:00
Adam
3a10485ed4 bump some versions, pin some npm dependencies to satisfy GitHub depend-a-bot, remove protobuf (unused) 2022-03-12 22:00:58 +01:00