Merge branch 'stable-3.2'

* stable-3.2:
  Adapt kafka publisher metrics to the metrics framework
  Add publisher metrics

Change-Id: I09cac819532dbdb72656ca788745a304d71eed75