You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/01/31 15:50:05 UTC

[GitHub] [flink] StephanEwen commented on a change in pull request #10982: [FLINK-15683][docs] Restructure Configuration page

StephanEwen commented on a change in pull request #10982: [FLINK-15683][docs] Restructure Configuration page
URL: https://github.com/apache/flink/pull/10982#discussion_r373548350
 
 

 ##########
 File path: flink-annotations/src/main/java/org/apache/flink/annotation/docs/Documentation.java
 ##########
 @@ -41,24 +41,67 @@
 	}
 
 	/**
-	 * Annotation used on config option fields to include them in the "Common Options" section.
+	 * Annotation used on config option fields to include them in specific sections. Sections are groups of options
+	 * that are aggregated across option classes, with each group being placed into a dedicated file.
 	 *
-	 * <p>The {@link CommonOption#position()} argument controls the position in the generated table, with lower values
+	 * <p>The {@link Section#position()} argument controls the position in the generated table, with lower values
 	 * being placed at the top. Fields with the same position are sorted alphabetically by key.
 	 */
 	@Target(ElementType.FIELD)
 	@Retention(RetentionPolicy.RUNTIME)
 	@Internal
-	public @interface CommonOption {
-		int POSITION_MEMORY = 10;
-		int POSITION_PARALLELISM_SLOTS = 20;
-		int POSITION_FAULT_TOLERANCE = 30;
-		int POSITION_HIGH_AVAILABILITY = 40;
-		int POSITION_SECURITY = 50;
+	public @interface Section {
 
+		String SECTION_COMMON = "common";
 
 Review comment:
   Actually not, no, this variable is unused. Can remove it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services