To prevent breakage for existing consumers.
Added a deprecated method getUserId() back
Merge pull request #1085 from ManishKataria/master

To prevent breakage for existing consumers.