code: func newStaticPartitioner(partition int32) sarama.PartitionerConstructor {
  	return func(topic string) sarama.Partitioner {
  		return &staticPartitioner{partition}
  	}
  }
docs: // newStaticPartitioner returns a PartitionerConstructor that
  // returns a Partitioner that always chooses the specified partition.