Adam
f12a505d22
migrate buildSrc plugins to includedBuild plugins
2022-09-18 20:49:32 +02:00
Adam
873983f9a3
big ol' refactor to split up the events-server and events-processors
2022-09-13 17:56:57 +02:00
Adam
c8815726b1
start splitting up events-server
2022-09-11 00:48:16 +02:00
Adam
4bc46f9753
progress towards multi-server handling
...
- bump some versions
- validate Factorio server ID & token
-
2022-08-28 19:37:49 +02:00
Adam
4510ec4a6e
only save png tiles 256px and up
2022-07-07 22:28:47 +02:00
Adam
665327e010
bump project to 0.7.0 (and fix docker .env task for all docker .envs)
2022-07-06 17:43:50 +02:00
Adam
a381e01886
move lua to src/generated, and tweak IntelliJ 'mark as excluded/src'
2022-07-02 09:50:11 +02:00
Adam
c0c82e7c9c
finish migrating to ktor!
...
- remove http4k
- renamed 'schema' subproject to 'library', because it contains more than just data models
- tiles are now hosted per factorio-server
- changed api base to `kafkatorio/data`
- tidied up some Gradle conf
- remove 'events-processor' subproject - I don't want to set up loads of microservices right now
2022-07-02 08:45:21 +02:00
Adam
8a90c4fb5e
- start migrating tile-server to use Ktor
...
- start splitting up Kafka processor and tile-server to two subprojects
2022-07-01 13:14:32 +02:00
Adam
e9a4ee4c48
set up syslog docker parser (remove need for Kafka Pipe script)
2022-06-27 22:07:42 +02:00
Adam
dacb6f62c4
tidy up Gradle config, standardise a group for Factorio Mod tasks
2022-06-26 14:56:53 +02:00
Adam
33d31bfbdd
version bumps. Kotlin 1.7 and yarn.lock and others
2022-06-19 10:20:48 +02:00
Adam
b6b874d8f7
add Gradle task to upload the mod to the portal, and some gradle fixes
2022-05-18 19:33:27 +02:00
Adam
a78ffb794a
implement versions platform, tidy up and bump some dependencies
2022-05-01 09:42:14 +02:00
Adam
b4ba87e8e0
try fixing tstl task caching
2022-04-24 19:00:37 +02:00
Adam
4b5fb7a944
kafka-streams: experiment with exposing jmx
2022-04-24 11:33:18 +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
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
Adam
b8ba8b7c9e
- tidy up groupMapChunks.kt
...
- add ticks to all Kafkatorio Packets
- add Kafka Streams test for groupMapChunks.kt
2022-03-12 16:42:24 +01:00
Adam
bfdee32d61
bump kotka-streams versions (fix deserialization bug, because of nullable val)
2022-03-12 02:10:40 +01:00
Adam
e3954c184a
code tidy up
2022-03-12 01:37:35 +01:00
Adam
e630ce3702
Gradle version bump, and fiddling with some gradle config. Add a 'hardReset' Gradle task. Add a 'docker remove' task.
2022-03-09 21:41:00 +01:00
Adam
b055397d25
- wicked sick size optimisation of map-tiles update packet
...
- fix ts-generator recursive value class unwrapping
- move kafka state dir
- try fixing kafka streams for tile generation (simplifying it, and fixing some nullability problems)
2022-03-02 18:39:03 +01:00
Adam
99a7167485
improve kafka consumer group gradle task
2022-02-27 01:01:24 +01:00
Adam
b42eaaa67e
create KafkaConsumers reset task
2022-02-26 17:34:31 +01:00
Adam
7141d7e5f7
- try making a factorio mod portal api client, for auto releasing
...
- make webmapTileDir a configurable variable
2022-02-13 10:42:13 +01:00
Adam
b37da373ae
split up the tile-chunk-grouping and save-tile applications
2022-02-09 23:38:12 +01:00
Adam
e263275479
update kafka-resetter for the 3 applications
2022-02-09 23:02:16 +01:00
Adam
8040149e25
version bumnp, more gradle tidying, and fix the kotlin-js-store yarn lock file location
2022-02-09 13:16:57 +01:00
Adam
96412bf7c9
bump gradle version. gradle build scripts tidy up. Make versions more consistent, share some config
2022-02-09 11:53:58 +01:00
Adam
1af5912477
even more working - generate zoomed tiles (but also it doesn't work - it stops making new tiles at some point).
2022-02-08 14:10:13 +01:00
Adam
5a59b3bd6d
workinggggg!!!!!!!
...
- fix map tiles proto colours KTable
- test and tidy up Colour/ColourHex
- reset event-server application
2022-02-08 11:51:16 +01:00
Adam
ea0bfb350b
- MapTile/LuaTile no longer a FactorioObjectData (it doesn't get sent as a packet)
...
- trying to optimise the topology so it's faster... almost there but the records are now too large
- map tile pngs, multiple zoom levels
- use coroutines for faster map tiles
2022-02-06 21:05:37 +01:00
Adam
f108431033
- bump kafka sdk version
...
- fix kafka admin so it doesn't try making topics always
- move some stuff to Kotka Streams
- trying to optimise and debounce with windows... but it didn't work
2022-02-05 12:20:25 +01:00
Adam
f2ccbbd456
- factorio version bump
...
- mod: add a couple of commands for emitting chunks
- mod: decrease on_tick event rate
- mod: version bump typed-factorio, tstl
- kafka admin: decrease replication
- kafka admin: filter out existing-topics when creating
- events server: add more serdes, hopefully more performant than json
- events server: lots of work trying to improve performance...
- events server: increase tile size to 256
- events server: fix web-map-tile-image x/y location
- kafka: version bump
- kafka: increase default partition size
- kafka ui: version bump
-
2022-01-21 18:31:15 +01:00
Adam
a7a095ecbf
map tiles are now saved!
2022-01-19 16:53:24 +01:00
Adam
8533be0af8
chunk pngs almost working...
...
- rm yarn lock, it should be in ./gradle/kotlin-js-store
- move kafka extensions to another project, kotka-streams
- move prototypes to their own package
- create a Factorio command for emitting prototypes
- add bounding box to chunk updates
- bump typed-factorio version
- fix MapEntityPosition -> MapChunkPosition x/y rounding
- lots of work on the Kafka Streams topology
2022-01-16 23:16:09 +01:00
Adam
49ad3654a3
tiles from kafka -> image tiles... maybe???
2022-01-13 00:00:59 +01:00
Adam
5a406358d8
renaming events server, to match project and so Gradle task.run works
2022-01-09 11:05:30 +01:00
Adam
de5f420621
rename events-processor to events-server
2021-12-28 17:24:32 +01:00