code: @Deprecated
  	public static <T> FlinkKafkaProducer010Configuration<T> writeToKafkaWithTimestamps(DataStream<T> inStream,
  																					String topicId,
  																					KeyedSerializationSchema<T> serializationSchema,
  																					Properties producerConfig) {
  		return writeToKafkaWithTimestamps(inStream, topicId, serializationSchema, producerConfig, new FlinkFixedPartitioner<T>());
  	}
docs: Creates a FlinkKafkaProducer for a given topic. The sink produces a DataStream to
  the topic.
  
  <p>This constructor allows writing timestamps to Kafka, it follow approach (b) (see above)
  
  @param inStream The stream to write to Kafka
  @param topicId ID of the Kafka topic.
  @param serializationSchema User defined serialization schema supporting key/value messages
  @param producerConfig Properties with the producer configuration.
  
  @deprecated Use {@link #FlinkKafkaProducer010(String, KeyedSerializationSchema, Properties)}
  and call {@link #setWriteTimestampToKafka(boolean)}.