[ 
https://issues.apache.org/jira/browse/KAFKA-1761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14282185#comment-14282185
 ] 

Manikumar Reddy commented on KAFKA-1761:
----------------------------------------

1. we need to update the default values of the following config properties in 
0.8.2 docs.

||Config property||Default value in code|| Default value in docs||
|background.threads | 10 | 4 |
|controller.message.queue.size| Int.MaxValue | 10 |
|fetch.purgatory.purge.interval.requests | 1000 | 10000 |
|producer.purgatory.purge.interval.requests| 1000 | 10000 |
|offset.metadata.max.bytes | 4096 | 1024 |
|log.cleaner.io.max.bytes.per.second|Double.MaxValue|None|
|log.flush.interval.messages|Long.MaxValue|None|
|log.flush.scheduler.interval.ms|Long.MaxValue|3000|
|log.flush.interval.ms|Long.MaxValue|3000|
|queued.max.message.chunks|2|10|

2. Set the default port to 9092 in code (As suggested by [~joestein])

3. The following needs to be corrected in server.properties

||Config property||Default value in code|| Default value in conf||
|zookeeper.connection.timeout.ms|       6000 |2000|
|socket.receive.buffer.bytes|102400| 65536|

Point 1 can be done part of KAFKA-1728. Uploaded a simple patch for Point 2 and 
3 


> num.partitions        documented default is 1 while actual default is 2
> -----------------------------------------------------------------
>
>                 Key: KAFKA-1761
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1761
>             Project: Kafka
>          Issue Type: Bug
>          Components: log
>    Affects Versions: 0.8.1.1
>            Reporter: Stevo Slavic
>            Assignee: Manikumar Reddy
>            Priority: Minor
>         Attachments: KAFKA-1761.patch, KAFKA-1761_2015-01-19_11:51:58.patch
>
>
> Default {{num.partitions}} documented in 
> http://kafka.apache.org/08/configuration.html is 1, while server 
> configuration defaults same parameter to 2 (see 
> https://github.com/apache/kafka/blob/0.8.1/config/server.properties#L63 )
> Please have this inconsistency fixed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to