You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/05/05 22:53:19 UTC

[GitHub] [druid] sthetland commented on a change in pull request #9804: Clarifying workerThreads and a few other nits

sthetland commented on a change in pull request #9804:
URL: https://github.com/apache/druid/pull/9804#discussion_r420454207



##########
File path: docs/development/extensions-core/kafka-ingestion.md
##########
@@ -122,9 +122,9 @@ A sample supervisor spec is shown below:
 |Field|Description|Required|
 |--------|-----------|---------|
 |`type`|The supervisor type, this should always be `kafka`.|yes|
-|`dataSchema`|The schema that will be used by the Kafka indexing task during ingestion, see [`dataSchema`](../../ingestion/index.md#dataschema) for details.|yes|
-|`ioConfig`|A KafkaSupervisorIOConfig to configure the supervisor and indexing tasks, see below.|yes|
-|`tuningConfig`|A KafkaSupervisorTuningConfig to configure the supervisor and indexing tasks, see below.|no|
+|`dataSchema`|The schema that will be used by the Kafka indexing task during ingestion. See [`dataSchema`](../../ingestion/index.md#dataschema) for details.|yes|
+|`tuningConfig`|A KafkaSupervisorTuningConfig object for configuring performance-related settings for the supervisor and indexing tasks. See [KafkaSupervisorTuningConfig](#kafkasupervisortuningconfig) below.|no|
+|`ioConfig`|A KafkaSupervisorIOConfig object for configuring Kafka connection and I/O-related settings for the supervisor and indexing task. See [KafkaSupervisorIOConfig](#kafkasupervisorioconfig) below.|yes|

Review comment:
       So you mean put `ioConfig` before `tuningConfig` in the [sample supervisor spec](https://druid.apache.org/docs/latest/development/extensions-core/kafka-ingestion.html#submitting-a-supervisor-spec), [table](https://druid.apache.org/docs/latest/development/extensions-core/kafka-ingestion.html#supervisor-configuration), and the individual sections, i.e., [KafkaSupervisorTuningConfig](https://druid.apache.org/docs/latest/development/extensions-core/kafka-ingestion.html#kafkasupervisortuningconfig)? 
   
   That could be better, yes. Especially if, as an optional property, it's not likely to be touched a lot. But I don't think it's huge deal. I do recommend consistency in the order, at least. 
   
   And that probably wouldn't be able to be a blanket rule, presumably? that is, I could imagine cases where an optional property came before a mandatory one to be near closely related properties for instance. 
   
   But yeah, if such a circumstance don't apply here, I could reverse them in the spec example and the sections, and revert the order change in this table? Let me know if you think so.    




----------------------------------------------------------------
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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org