This is an automated email from the ASF dual-hosted git repository. fanrui pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/flink-kubernetes-operator.git
from 0a7588c0 [FLINK-34266][FLINK-34213] Compute Autoscaler metrics correctly over metric window new 7cad846d [refactor] Moving the getParallelismHashCode from KubernetesAutoScalerEventHandler to AutoScalerEventHandler new 9fda27a8 [FLINK-33636][autoscaler] Support the JDBCAutoScalerEventHandler new c576c417 [FLINK-33636][autoscaler] Autoscaler Standalone supports the JdbcAutoScalerEventHandler new 37ca517f [FLINK-33636][autoscaler] Document the JDBC Autoscaler event handler The 4 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: docs/content/docs/custom-resource/autoscaler.md | 11 +- .../autoscaler_standalone_configuration.html | 20 +- flink-autoscaler-plugin-jdbc/pom.xml | 7 + .../autoscaler/jdbc/event/AutoScalerEvent.java | 32 +- .../jdbc/event/JdbcAutoScalerEventHandler.java | 115 +++++ .../autoscaler/jdbc/event/JdbcEventInteractor.java | 155 ++++++ .../src/main/resources/schema/derby_schema.sql | 19 + .../src/main/resources/schema/mysql_schema.sql | 16 + .../src/main/resources/schema/postgres_schema.sql | 16 + .../AbstractJdbcAutoscalerEventHandlerITCase.java | 550 +++++++++++++++++++++ .../event/AbstractJdbcEventInteractorITCase.java | 147 ++++++ .../CountableJdbcEventInteractor.java} | 50 +- .../testutils/databases/derby/DerbyExtension.java | 31 +- .../test/resources/test_schema/mysql_schema.sql | 15 + .../test/resources/test_schema/postgres_schema.sql | 16 + .../standalone/AutoscalerEventHandlerFactory.java | 88 ++++ .../standalone/AutoscalerStateStoreFactory.java | 17 +- .../standalone/StandaloneAutoscalerEntrypoint.java | 5 +- .../config/AutoscalerStandaloneOptions.java | 42 +- ...java => AutoscalerEventHandlerFactoryTest.java} | 53 +- .../AutoscalerStateStoreFactoryTest.java | 6 +- .../autoscaler/event/AutoScalerEventHandler.java | 17 + .../KubernetesAutoScalerEventHandler.java | 26 +- 23 files changed, 1323 insertions(+), 131 deletions(-) copy flink-autoscaler/src/main/java/org/apache/flink/autoscaler/metrics/CollectedMetricHistory.java => flink-autoscaler-plugin-jdbc/src/main/java/org/apache/flink/autoscaler/jdbc/event/AutoScalerEvent.java (67%) create mode 100644 flink-autoscaler-plugin-jdbc/src/main/java/org/apache/flink/autoscaler/jdbc/event/JdbcAutoScalerEventHandler.java create mode 100644 flink-autoscaler-plugin-jdbc/src/main/java/org/apache/flink/autoscaler/jdbc/event/JdbcEventInteractor.java create mode 100644 flink-autoscaler-plugin-jdbc/src/test/java/org/apache/flink/autoscaler/jdbc/event/AbstractJdbcAutoscalerEventHandlerITCase.java create mode 100644 flink-autoscaler-plugin-jdbc/src/test/java/org/apache/flink/autoscaler/jdbc/event/AbstractJdbcEventInteractorITCase.java copy flink-autoscaler-plugin-jdbc/src/test/java/org/apache/flink/autoscaler/jdbc/{state/CountableJdbcStateInteractor.java => event/CountableJdbcEventInteractor.java} (56%) create mode 100644 flink-autoscaler-standalone/src/main/java/org/apache/flink/autoscaler/standalone/AutoscalerEventHandlerFactory.java copy flink-autoscaler-standalone/src/test/java/org/apache/flink/autoscaler/standalone/{AutoscalerStateStoreFactoryTest.java => AutoscalerEventHandlerFactoryTest.java} (52%)