add queue size in publisher