Technically neither since it doesn't come from Germany or Ireland. But it was most likely invented by immigrants of German or Lithuanian descent using German ingredients. It's frequently associated with St. Patrick's Day though because of the corned beef that is connected with Irish-American cuisine.